-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency @api3/chains to v3 #1824
Conversation
@andreogle - I added a few small fixes for the v3.0.0 upgrade if you wouldn't mind a very quick review |
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. ⚠ Warning: custom changes will be lost. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💪🏻
This PR contains the following updates:
^2.1.0
->^3.0.0
Release Notes
api3dao/chains (@api3/chains)
v3.0.0
: Version 3.0.0Compare Source
Breaking Changes
Hardhat config functions have been renamed
The result of this is that you should now be able to import and use these values without any additional configuration.
getEnvVariables renamed and moved to hardhatConfig
Environment variable names updated
Environment variables now use a chain alias that has been converted to upper snake case
Removed
getChainByAlias
has been removed. UseCHAINS.find((chain) => chain.alias === alias)
in your code insteadyarn env:write
script. CallhardhatConfig.getEnvVariableNames();
and implement the code to write to a file instead.Non-breaking Changes
Etherscan API key values
When calling
hardhatConfig.etherscan()
,apiKey
values will attempt to be sourced fromprocess.env
where the keys matches the values output fromhardhatConfig.getEnvVariableNames();
. If no environment variable is found, it will output theapiKey
values asNOT_FOUND
.testnet
boolean added to each chainEach chain now has a new boolean field called
testnet
to indicate whether or not it is a testnet chain.Updated Chains
boba-moonbeam
has been removed.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.