Skip to content

Commit

Permalink
Refactor (#81)
Browse files Browse the repository at this point in the history
* implement npx networks command

* add .gitignore newline

* Update src/internal/cli/commands/NetworksCommand.ts

Co-authored-by: Boris Janković <[email protected]>

* Update src/internal/cli/commands/NetworksCommand.ts

Co-authored-by: Boris Janković <[email protected]>

* swap slug and id

* remove unused index

* implement npx login command

* add newline

* default to yes for overwrite prompt; rename token func

* gracefully stop on sigint

* add -v option for npx networks; display latest block number

* remove unused code

* change header color; change block number header

* Update yarn.lock

* Changes in yarn.lock

* Delete unused variables

* [CORE-513, CORE-514, CORE-515, CORE-516, CORE-517] Add tenderly vnet command (#63)

* change

* handling for 0 contracts

* adding support for deployTransaction

* fix

* wip

* PoC vnet command

* display link to dash; read headers

* remove unused file

* print accounts and balance

* add access key header

* create vnet

* add get vnetId route

* Name to slug

* Changes

* Fetch vnet fork id from local server

* Changes

* Update cli-table3 dep

* Improve logging

* Changes

* remove unused imports; add missing tab

* change to vnet route

* Improve yarn build script

* Changes

* fix yarn.lock

* Changes

Co-authored-by: Filip Petrovic <[email protected]>
Co-authored-by: Boris Jankovic <[email protected]>

* 1.2.0-beta.0

* 1.2.0-beta.1

* Improve example README with VNet docs (#64)

* Improve example README with VNet docs

* Update examples/contract-verification/.gitignore

Co-authored-by: Igor Petkovic <[email protected]>

* Update examples/contract-verification/README.md

Co-authored-by: Igor Petkovic <[email protected]>

* Update examples/contract-verification/README.md

Co-authored-by: Igor Petkovic <[email protected]>

* Update examples/contract-verification/README.md

Co-authored-by: Igor Petkovic <[email protected]>

* Update examples/contract-verification/README.md

Co-authored-by: Igor Petkovic <[email protected]>

* Update examples/contract-verification/README.md

Co-authored-by: Igor Petkovic <[email protected]>

Co-authored-by: Igor Petkovic <[email protected]>

* Improve login cmd validation (#67)

* enable chain config support (#65)

* enable chain config support

* Changes

* fix param name typo

Co-authored-by: Boris Jankovic <[email protected]>

* Print new line before print Forwarding message

* Add debug lunch file

* Ignore .vscode

* fix block number passing for vnet creation

* Changes

* change prompt lib; use autocomplete and set defaults (#68)

* 1.2.0-beta.2

* Update dep

* Update README

* Refactor (#73)

* Changes

* More refactor

* More refactor

* Changes

* More refactor

* Lint fix

* Lint fix

* Allow snake_case in typeProperty

* Changes

* Changes

* Changes

* Changes

* Changes

* Changes

* Changes

* Changes

* Changes

* Changes

* Changes

* Changes

* Resolve comment

* Changes

* Changes

* Changes

* Fix

* Add watch

* Bug fix TdlyContractFactory not inherent methids properly

* Update Licence

* Create LICENCE

* Added Licences for every packages

* Add symbolic link readme

* Add symbolic link readme

* Refactor (#76)

* Fix

* Success implementation

* Changes

* FIx automatic verification

* Save chain config

* Change --save-chain-config to be flag

* Move @nomiclabs/hardhat-ethers to dependencies

* Init changesets

* Add changeset support (#77)

* Add changeset

* Setup release package

* Update releases.md

* Update releases.md

* Update releases.md

* Update releases.md

* Fix tenderly-hardhat tsconfig

* Fix tenderly-hardhat tsconfig

* Changes

* Fix tenderly-hardhat tsconfig

* Update release.yml

* Fix

* Changes

* Move tasks from index

* Fix hardhat-tenderly

* Fix

* Example use tdly.setup

* Remove all vnet thing and implementations (#79)

* Remove npx tenderly functionality

* Delete tenderly package keywords

* Update README.md

* Fix ethers override (#80)

* Fix

* Bump example project package versions

* Version packages

* Change in example project @tenderly/hardhat-tenderly version

* Revert "Version packages"

This reverts commit 24535f0.

* Add changeset

Co-authored-by: Igor Petkovic <[email protected]>
Co-authored-by: Igor Petkovic <[email protected]>
Co-authored-by: Filip Petrovic <[email protected]>
  • Loading branch information
4 people authored Nov 2, 2022
1 parent 0f5c36d commit f9faba6
Show file tree
Hide file tree
Showing 103 changed files with 7,112 additions and 3,436 deletions.
19 changes: 19 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@changesets/changelog-github",
{
"repo": "Tenderly/hardhat-tenderly"
}
],
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "master",
"updateInternalDependencies": "minor",
"ignore": [],
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true
}
}
6 changes: 6 additions & 0 deletions .changeset/tough-chicken-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@tenderly/hardhat-tenderly": minor
"tenderly": patch
---

Refactor
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# EditorConfig is awesome: https://editorconfig.org/
root = true

[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = false
21 changes: 0 additions & 21 deletions .github/workflows/main.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/npm_beta_publish.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/npmpublish.yml

This file was deleted.

45 changes: 45 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Release

on:
push:
branches:
- master
- beta

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
runs-on: ubuntu-latest
if: github.repository == 'Tenderly/hardhat-tenderly'
steps:
- name: Checkout Repo
uses: actions/checkout@v2
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Setup Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: 16.x
cache: "yarn"

- name: Install Dependencies
run: yarn
env:
# This enable Actions fatch all private packages if we have them
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Build
run: yarn run build

- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: yarn run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Ensure to have this set up under GitHub secrets
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} # Ensure to have this set up under GitHub secrets
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ typings/
# next.js build output
.next

.editorconfig
.env
.idea
.idea
.vscode
**/.DS_Store
4 changes: 4 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"proseWrap": "never",
"printWidth": 120
}
5 changes: 1 addition & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.12] - 2021-4-22

Expand Down Expand Up @@ -53,5 +52,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- Fixed npm configuration so that the package now installs properly.


Loading

0 comments on commit f9faba6

Please sign in to comment.