Commit 122916b8 authored by Mark Tyneway's avatar Mark Tyneway

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
```
parent 5661cb3e
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.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment