Skip to content
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

Deploy protocol contracts on base-sepolia-testnet and optimism-sepolia-testnet #1953

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

dcroote
Copy link
Contributor

@dcroote dcroote commented Feb 8, 2024

Closes #1949, closes #1938

Deployed each with: NETWORK=<network> yarn run deploy:verify

There were gas issues for each and I ended up having to modify networks from api3/chains within hardhat.config.js like so (for each chain, base sepolia shown as an example):

networks: { ...networks, 'base-sepolia-testnet': { ...networks['base-sepolia-testnet'], gasPrice: 1000000000 } },

Contracts have been verified:

Base sepolia

❯ NETWORK=base-sepolia-testnet yarn run deploy:verify
yarn run v1.22.19
$ hardhat deploy --network $NETWORK --tags verify
Nothing to compile
Successfully submitted source code for contract
contracts/access-control-registry/AccessControlRegistry.sol:AccessControlRegistry at 0x92E5125adF385d86beDb950793526106143b6Df1
for verification on the block explorer. Waiting for verification result...

Successfully verified contract AccessControlRegistry on the block explorer.
https://sepolia.basescan.org/address/0x92E5125adF385d86beDb950793526106143b6Df1#code

Successfully submitted source code for contract
contracts/authorizers/RequesterAuthorizerWithAirnode.sol:RequesterAuthorizerWithAirnode at 0xf18c105D0375E80980e4EED829a4A68A539E6178
for verification on the block explorer. Waiting for verification result...

Successfully verified contract RequesterAuthorizerWithAirnode on the block explorer.
https://sepolia.basescan.org/address/0xf18c105D0375E80980e4EED829a4A68A539E6178#code

Successfully submitted source code for contract
contracts/rrp/AirnodeRrpV0.sol:AirnodeRrpV0 at 0xa0AD79D995DdeeB18a14eAef56A549A04e3Aa1Bd
for verification on the block explorer. Waiting for verification result...

Successfully verified contract AirnodeRrpV0 on the block explorer.
https://sepolia.basescan.org/address/0xa0AD79D995DdeeB18a14eAef56A549A04e3Aa1Bd#code

Successfully submitted source code for contract
contracts/rrp/AirnodeRrpV0DryRun.sol:AirnodeRrpV0DryRun at 0x2e768206bf5112e7D7efAf1d9df614C26475193f
for verification on the block explorer. Waiting for verification result...

Successfully verified contract AirnodeRrpV0DryRun on the block explorer.
https://sepolia.basescan.org/address/0x2e768206bf5112e7D7efAf1d9df614C26475193f#code

Done in 38.46s.

Optimism sepolia

❯ NETWORK=optimism-sepolia-testnet yarn run deploy:verify
yarn run v1.22.19
$ hardhat deploy --network $NETWORK --tags verify
Nothing to compile
Successfully submitted source code for contract
contracts/access-control-registry/AccessControlRegistry.sol:AccessControlRegistry at 0x92E5125adF385d86beDb950793526106143b6Df1
for verification on the block explorer. Waiting for verification result...

Successfully verified contract AccessControlRegistry on the block explorer.
https://sepolia-optimism.etherscan.io/address/0x92E5125adF385d86beDb950793526106143b6Df1#code

Successfully submitted source code for contract
contracts/authorizers/RequesterAuthorizerWithAirnode.sol:RequesterAuthorizerWithAirnode at 0xf18c105D0375E80980e4EED829a4A68A539E6178
for verification on the block explorer. Waiting for verification result...

Successfully verified contract RequesterAuthorizerWithAirnode on the block explorer.
https://sepolia-optimism.etherscan.io/address/0xf18c105D0375E80980e4EED829a4A68A539E6178#code

Successfully submitted source code for contract
contracts/rrp/AirnodeRrpV0.sol:AirnodeRrpV0 at 0xa0AD79D995DdeeB18a14eAef56A549A04e3Aa1Bd
for verification on the block explorer. Waiting for verification result...

Successfully verified contract AirnodeRrpV0 on the block explorer.
https://sepolia-optimism.etherscan.io/address/0xa0AD79D995DdeeB18a14eAef56A549A04e3Aa1Bd#code

Successfully submitted source code for contract
contracts/rrp/AirnodeRrpV0DryRun.sol:AirnodeRrpV0DryRun at 0x2e768206bf5112e7D7efAf1d9df614C26475193f
for verification on the block explorer. Waiting for verification result...

Successfully verified contract AirnodeRrpV0DryRun on the block explorer.
https://sepolia-optimism.etherscan.io/address/0x2e768206bf5112e7D7efAf1d9df614C26475193f#code

Done in 42.16s.

@dcroote dcroote self-assigned this Feb 8, 2024
Copy link
Member

@andreogle andreogle left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏻

@dcroote dcroote merged commit ea29aef into master Feb 9, 2024
29 checks passed
@dcroote dcroote deleted the dcroote/chains-deployments branch February 9, 2024 01:56
Sign up for free to 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.

Base sepolia testnet contracts deployment Optimism sepolia testnet contracts deployment
3 participants