Skip to content

chore(smart-contracts): publish to tenderly - #1048

Merged
alexandre-abrioux merged 61 commits into
masterfrom
tenderly-contracts
Mar 7, 2023
Merged

chore(smart-contracts): publish to tenderly#1048
alexandre-abrioux merged 61 commits into
masterfrom
tenderly-contracts

Conversation

@alexandre-abrioux

@alexandre-abriouxalexandre-abrioux commented Jan 16, 2023

Copy link
Copy Markdown
Contributor

Description of the changes

Adds a command to import contracts in a Tenderly account

Related

@coveralls

coveralls commented Jan 31, 2023

Copy link
Copy Markdown

Coverage Status

Coverage: 87.599%. Remained the same when pulling 8e4d4cd on tenderly-contracts into 1c240b7 on networks.

Comment threadpackages/smart-contracts/scripts-create2/utils/chains.ts Outdated

@benjlevesquebenjlevesque left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

A few comments:

  • what will happen on chains not supported by tenderly?
  • could we avoid relying on the (request finance) currency API, in a core library of the protocol? It seems it's used only to get the chainId, which can probably be found with a call to the RPC, that I think is already available in Hardhat configuration?

Comment threadpackages/smart-contracts/scripts-create2/utils/utils.ts
Comment threadpackages/smart-contracts/src/lib/ContractArtifact.ts Outdated
@alexandre-abrioux
alexandre-abrioux changed the base branch from master to networksFebruary 8, 2023 13:53
@alexandre-abrioux

Copy link
Copy Markdown
ContributorAuthor

@benjlevesque

  • it looks like Tenderly simply ignores contracts when the chainId is not supported on their side, so all good 👍
  • the dependency from currency-api has been removed thanks to refactor: chain configurations #1056

Base automatically changed from networks to masterMarch 7, 2023 13:07
@alexandre-abrioux
alexandre-abrioux enabled auto-merge (squash) March 7, 2023 13:15
@alexandre-abrioux
alexandre-abrioux merged commit 27aaa1f into masterMar 7, 2023
@alexandre-abrioux
alexandre-abrioux deleted the tenderly-contracts branch March 7, 2023 13:20
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@alexandre-abrioux@coveralls@KolevDarko@benjlevesque@kevindavee@leoslr