Skip to content

Commit

Permalink
chore(EthereumToOptimism): re-deploy on Mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
PierrickGT committed Oct 17, 2023
1 parent eacb234 commit 237d906
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
22 changes: 16 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ function _msgSender() internal view returns (address payable _signer);

| Network | Contract | Address |
| -------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| Ethereum | [EthereumToOptimismDispatcher.sol](./src/ethereum-optimism/EthereumToOptimismDispatcher.sol) | [0xa8f85bAB964D7e6bE938B54Bf4b29A247A88CD9d](https://etherscan.io/address/0xa8f85bAB964D7e6bE938B54Bf4b29A247A88CD9d) |
| Optimism | [EthereumToOptimismExecutor](./src/ethereum-optimism/EthereumToOptimismExecutor.sol) | [0x890a87E71E731342a6d10e7628bd1F0733ce3296](https://optimistic.etherscan.io/address/0x890a87E71E731342a6d10e7628bd1F0733ce3296) |
| Ethereum | [EthereumToOptimismDispatcher.sol](./src/ethereum-optimism/EthereumToOptimismDispatcher.sol) | [0x2A34E6cae749876FB8952aD7d2fA486b00F0683F](https://etherscan.io/address/0x2A34E6cae749876FB8952aD7d2fA486b00F0683F) |
| Optimism | [EthereumToOptimismExecutor](./src/ethereum-optimism/EthereumToOptimismExecutor.sol) | [0x139f6dD114a9C45Ba43eE22C5e03c53de0c13225](https://optimistic.etherscan.io/address/0x139f6dD114a9C45Ba43eE22C5e03c53de0c13225) |

### Testnet

Expand Down Expand Up @@ -370,21 +370,31 @@ open coverage/index.html

### Deployment

You can use the following commands to deploy on testnet.
You can use the following commands to deploy on mainnet and testnet.

#### Ethereum Goerli to Arbitrum Goerli bridge
#### Mainnet

##### Ethereum to Optimism bridge

```
yarn deploy:optimism
```

#### Testnet

##### Ethereum Goerli to Arbitrum Goerli bridge

```
yarn deploy:arbitrumGoerli
```

#### Ethereum Goerli to Optimism Goerli bridge
##### Ethereum Goerli to Optimism Goerli bridge

```
yarn deploy:optimismGoerli
```

#### Ethereum Goerli to Polygon Mumbai bridge
##### Ethereum Goerli to Polygon Mumbai bridge

```
yarn deploy:mumbai
Expand Down
5 changes: 5 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ optimism = "${OPTIMISM_RPC_URL}"
polygon = "${POLYGON_RPC_URL}"

[etherscan]
# Mainnet
mainnet = { key = "${ETHERSCAN_API_KEY}", url = "https://api.etherscan.io/api" }
optimism = { key = "${OPTIMISM_ETHERSCAN_API_KEY}", url = "https://api-optimistic.etherscan.io/api" }

# Testnet
goerli = { key = "${ETHERSCAN_API_KEY}", url = "https://api-goerli.etherscan.io/api" }
arbitrum-goerli = { key = "${ARBITRUM_ETHERSCAN_API_KEY}", url = "https://api-goerli.arbiscan.io/api" }
optimism-goerli = { key = "${OPTIMISM_ETHERSCAN_API_KEY}", url = "https://api-goerli-optimism.etherscan.io/api" }
Expand Down

0 comments on commit 237d906

Please sign in to comment.