Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds script which does the source code verification of all the contracts deployed by the L1AtomicTokenBridgeCreator to the Orbit chain.
Script is applicable for the verifying source code on the Blockscout explorer. Steps are following:
hardhat.config.ts
. Findorbit
field undernetworks
andcustomChains
and replace values with correct RPC and blockscout endpoints.yarn install && yarn build
.env
- provideBASECHAIN_RPC
,L1_TOKEN_BRIDGE_CREATOR
(address of token bridge creator on parent chain) andINBOX_ADDRESS
.DEPLOYER_KEY
. That's the private key of any funded address on the Orbit chain. It is required if you want to getUpgradeExecutor
andaeWETH
verified. Due to specifics of cross-chain deployment used by token bridge creator, the only way to getUpgradeExecutor
andaeWETH
verified is to deploy dummy instances on the Orbit chain and verify them. That way the original instances will get automatically verified because of the deployed bytecode match. IfDEPLOYER_KEY
is not provided, this step will be skipped.yarn run blockscout:verify --network orbit