Skip to content

Commit

Permalink
Merge pull request #329 from ethereum-optimism/harry/update_genesis_i…
Browse files Browse the repository at this point in the history
…nterop_checks

feat: update genesis and move interop checks to opsimulator
  • Loading branch information
tremarkley authored Feb 4, 2025
2 parents 370e875 + 0bf8ef0 commit 1660bc8
Show file tree
Hide file tree
Showing 32 changed files with 1,129 additions and 1,352 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,17 @@ Grab the balance of the sender account on L2:
cast balance 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 --rpc-url http://127.0.0.1:9545
```

**2. Call `bridgeETH` function on the `L1StandardBridgeProxy` contract on the L1 (chain 900)**
**2. Retrieve the `L1StandardBridge` address for the chain you would like to bridge to from the `Chain Configuration` section printed in the terminal where supersim is running**

**3. Call `bridgeETH` function on the `L1StandardBridge` contract on the L1 (chain 900)**

Initiate a bridge transaction on the L1:

```sh
cast send 0x8d515eb0e5f293b16b6bbca8275c060bae0056b0 "bridgeETH(uint32 _minGasLimit, bytes calldata _extraData)" 50000 0x --value 0.1ether --rpc-url http://127.0.0.1:8545 --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
cast send <L1StandardBridgeAddress> "bridgeETH(uint32 _minGasLimit, bytes calldata _extraData)" 50000 0x --value 0.1ether --rpc-url http://127.0.0.1:8545 --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
```

**3. Check the balance on the L2 (chain 901)**
**4. Check the balance on the L2 (chain 901)**

Verify that the ETH balance of the sender has increased on the L2:

Expand Down
23 changes: 1 addition & 22 deletions bindings/crossl2inbox.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1660bc8

Please sign in to comment.