contracts-bedrock: deploy L2 contracts
Deploy the L2 contracts after code freeze. Use the following commands to reproduce: ``` export ETHERSCAN_API_KEY= export L2_RPC= export ETH_RPC_URL=$L2_RPC PRIVATE_KEY= ADDRESS=$(cast wallet address --private-key $PRIVATE_KEY) BALANCE=$(cast balance $ADDRESS) ETHER=$(cast --to-unit $BALANCE ether) echo "$ADDRESS has $ETHER ether" export L1_RPC= export PRIVATE_KEY_DEPLOYER=$PRIVATE_KEY TAGS=l2 npx hardhat deploy --tags $TAGS --network optimism-goerli npx hardhat forge-contract-verify --network optimism-goerli --contract BaseFeeVault npx hardhat forge-contract-verify --network optimism-goerli --contract GasPriceOracle npx hardhat forge-contract-verify --network optimism-goerli --contract L1Block npx hardhat forge-contract-verify --network optimism-goerli --contract L1FeeVault npx hardhat forge-contract-verify --network optimism-goerli --contract L2CrossDomainMessenger npx hardhat forge-contract-verify --network optimism-goerli --contract L2ERC721Bridge npx hardhat forge-contract-verify --network optimism-goerli --contract L2StandardBridge npx hardhat forge-contract-verify --network optimism-goerli --contract L2ToL1MessagePasser npx hardhat forge-contract-verify --network optimism-goerli --contract OptimismMintableERC20Factory npx hardhat forge-contract-verify --network optimism-goerli --contract OptimismMintableERC721Factory npx hardhat forge-contract-verify --network optimism-goerli --contract SequencerFeeVault ```
Showing
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment