-
Notifications
You must be signed in to change notification settings - Fork 144
feat(l2)!: shared bridge #5192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
feat(l2)!: shared bridge #5192
Changes from 185 commits
Commits
Show all changes
187 commits
Select commit
Hold shift + click to select a range
08d483d
Add fee config encoding
avilagaston9 b112619
Add fee config decoder
avilagaston9 8636b88
Update committer and payload builder
avilagaston9 8e6392a
Update prover
avilagaston9 50c85a7
Update state reconstruct
avilagaston9 e56c0b8
Restore blobs
avilagaston9 ba0db8e
Fix blobs
avilagaston9 5a94906
Merge branch 'main' into feat/l2/commit_blocks_instead_of_state_diffs
avilagaston9 9fdd474
make osaka activation time optional
avilagaston9 ddd16bc
Fix
avilagaston9 dcefba3
Add measurements state diff vs transaction list
gianbelinche b357ef3
Update block_vs_state_diff_measurements.md
gianbelinche 7eab9ba
wip: sending messages
avilagaston9 d5c3c8b
Add erc20 block measurements
gianbelinche b23ee0b
Add erc20 state diff measurements
gianbelinche 2d0bc2c
Add conclusion
gianbelinche 0eb2ae0
final touches
e4b6530
Update measurements and code
gianbelinche 3cfbc91
Add erc20 state diff
gianbelinche 3e2258a
Add BalanceDiffs
avilagaston9 cdea5c3
Add eth transfers blocks
gianbelinche a37aaf6
Update ETH transfer state diff
gianbelinche 771aa23
Implement verifyMessage
avilagaston9 4cba453
Fix comments
gianbelinche 00542be
Fix solidity compilation
gianbelinche 5e5e5fd
Add deploy router
gianbelinche 4db8571
wip: update watcher to fetch logs from other L2s
avilagaston9 9752080
Merge branch 'main' into feat/l2/commit_blocks_instead_of_state_diffs
avilagaston9 fa13fa9
Fix linter
avilagaston9 2292491
Improve state reconstruct
avilagaston9 0888af5
Store balance diffs
gianbelinche b43ff95
Fix decode l2 message from log
gianbelinche a0b69f7
Improve payload builder
avilagaston9 a89e614
Update last encoded block size
avilagaston9 54e7962
Fix L2 watch
gianbelinche 697e655
Remove state diff from codebase
avilagaston9 270392b
Restore state diff docs
avilagaston9 96cecbc
Update tests
avilagaston9 b716604
Merge branch 'main' into feat/l2/commit_blocks_instead_of_state_diffs
avilagaston9 186804e
Fix estimate gas
avilagaston9 2b2358e
Fix tests
avilagaston9 1f49e3c
Execute privileged transaction
gianbelinche 32f0de9
Merge branch 'main' into feat/l2/commit_blocks_instead_of_state_diffs
avilagaston9 cfc0cec
Restore state diffs doc name
avilagaston9 6ea663e
Minor improvements
avilagaston9 9f474a4
Update docs
avilagaston9 3ce72a0
Restore blobs
avilagaston9 9aad9e7
Fix docs CI
avilagaston9 67b1978
Remove unnecesary deploy constract step
avilagaston9 b133b30
restore convertion from generic to transaction
avilagaston9 c11deb2
Inspect node logs
avilagaston9 d46a397
Send tx to mint eth
gianbelinche 37aa9e0
Restore state reconstruct workflow
avilagaston9 c975b1e
Merge branch 'main' into feat/l2/commit_blocks_instead_of_state_diffs
avilagaston9 4b6ff13
Create checkpoints in state reconstruct
avilagaston9 71e260a
Dehardcode l2s rpcs
gianbelinche d57a8e4
Format
gianbelinche 2a7aa7a
Add prints for debugging
avilagaston9 7fa554c
Fix rollup store path
avilagaston9 3f625c4
Build docker image with l2-sql
avilagaston9 51b7a37
Fix balance diffs double send
gianbelinche ea040ab
Send balances on verify
gianbelinche 6ac9acc
Add verification of l2 messages
gianbelinche 97f665c
Format
gianbelinche cd31966
Change default on chain proposer
gianbelinche 8f14e43
Add documentation
gianbelinche d94dadf
Merge branch 'main' into feat/l2/commit_blocks_instead_of_state_diffs
avilagaston9 fb36d17
Add steps for contract call
gianbelinche 3af87fd
Add troubleshooting
gianbelinche 2786006
Merge branch 'feat/l2/commit_blocks_instead_of_state_diffs' into feat…
gianbelinche 95f33dc
Fix compilation
gianbelinche e2d1414
Fix
gianbelinche 4445666
Fix tests
gianbelinche f0b13b7
Fix tests
gianbelinche 9d9da06
Fix clippy
gianbelinche e0a994c
Add source chain id
gianbelinche d6e567a
Format
gianbelinche c2dc3fa
Fix gas price
gianbelinche 827ca13
Update calldata for commit
gianbelinche 7bf7fe8
Test EIP1559_DEFAULT_SERIALIZED_LENGTH constant
avilagaston9 20007fd
Rename BlobKZGVersionedHash
avilagaston9 ade2665
Reuse cloned tx
avilagaston9 dc434fd
Update docs/l2/fundamentals/shared_bridge.md
gianbelinche 8dead17
Break if there is no more space for privileged
avilagaston9 4f0af0d
Fix based commit
gianbelinche 1d144c2
Merge branch 'feat/l2/shared_bridge' of https://github.com/lambdaclas…
gianbelinche 59b845f
Add sanity check on blocks and fee configs length
avilagaston9 c17173b
Round metric numbers
avilagaston9 a5dd91c
Fix default on chain proposer
gianbelinche 167cf9b
Merge branch 'main' into feat/l2/commit_blocks_instead_of_state_diffs
avilagaston9 5f23e66
Remove log
gianbelinche fa91e96
Format
gianbelinche 872951b
Fix state diff reconstruct
gianbelinche 7d8c2f3
Merge branch 'feat/l2/commit_blocks_instead_of_state_diffs' into feat…
gianbelinche b38625b
Fix bridge address
gianbelinche c554b10
Fix state reconstruct
gianbelinche ce3e847
Format
gianbelinche 3a5df21
Merge branch 'main' into feat/l2/shared_bridge
gianbelinche a084a77
Add more retries
gianbelinche ad8a459
Update docs
6ca55a3
Add more retries
gianbelinche 97a7cfa
Merge branch 'main' into feat/l2/shared_bridge
gianbelinche c50c185
Add log
gianbelinche 3be8496
Add more retries
gianbelinche 6a82086
Solve comments
gianbelinche f0c197c
Change base dir
gianbelinche db73197
Remove source chain id
gianbelinche 4ce8a69
Merge branch 'main' into feat/l2/shared_bridge
gianbelinche 4aaf120
Fix bridge address
gianbelinche 1c1081c
Update blobs state reconstruct
gianbelinche 8dbba54
Fix lint
gianbelinche de21ae6
Amp retries
gianbelinche d669f25
Fix router reverts on random chainid
gianbelinche 722fda1
Solve comments
gianbelinche eb79078
Merge branch 'main' into feat/l2/shared_bridge
gianbelinche f72bb33
Dont add l2tol2 if chain id doesnt exist
gianbelinche 50c9b28
Merge branch 'main' into feat/l2/shared_bridge
gianbelinche d90ce22
Fix merge
gianbelinche 3900768
Fix when no router
gianbelinche ef53563
Update blobs
gianbelinche a5bd8dd
Format
gianbelinche 293c5da
clippy
gianbelinche 8f0a8df
Fix clippy
gianbelinche 1ae37aa
Merge branch 'main' into feat/l2/shared_bridge
gianbelinche 78e1ca1
Add more docs
gianbelinche 88e9b24
add more docs
gianbelinche d70e620
Add image
gianbelinche 42a2e8c
Merge branch 'main' into feat/l2/shared_bridge
gianbelinche 8224a1e
Update docs/l2/fundamentals/shared_bridge.md
gianbelinche 8d122a8
Update crates/l2/contracts/src/l1/CommonBridge.sol
gianbelinche 28d793c
Update crates/l2/sequencer/l1_watcher.rs
gianbelinche 4c6f005
Update crates/networking/p2p/rlpx/l2/messages.rs
gianbelinche f23a1c3
Add balance diff doc
gianbelinche d19ba0f
Remove context clone
gianbelinche cf00ad8
Differentiate l1 and l2 privileged
gianbelinche f821ab0
Merge branch 'main' into feat/l2/shared_bridge
gianbelinche 1b2beb9
format
gianbelinche 1fc11bc
Fix lint
gianbelinche d7b3016
Change function name
gianbelinche 7007be8
Remove unneeded count
gianbelinche 9b52e36
Remove comment
gianbelinche 2f9ee96
Change info level
gianbelinche 3bf6a02
Add not l2 source doc
gianbelinche 6f6ce01
Fix state reconstruct
gianbelinche 3022345
Change privileged tx count position
gianbelinche f754818
Change address
gianbelinche c54e022
Change to rex
gianbelinche 0168d2d
Change rest of cast
gianbelinche 453ff15
Merge branch 'main' into feat/l2/shared_bridge
gianbelinche eb6192f
Update crates/l2/contracts/src/l1/interfaces/ICommonBridge.sol
gianbelinche 3485ee7
Update crates/l2/contracts/src/l1/interfaces/ICommonBridge.sol
gianbelinche ac4e25c
Update crates/l2/contracts/src/l1/CommonBridge.sol
gianbelinche 7894cb8
Fix comments
gianbelinche 4ccbb6a
Merge branch 'main' into feat/l2/shared_bridge
gianbelinche 29c01e5
Fix comment
gianbelinche 5c633b1
Fix index bug
gianbelinche 084d8e4
Add shared bridge test
gianbelinche 7a8bb5d
Fix compose
gianbelinche a2ada1b
Add override shared bridge
gianbelinche 72412d7
Fix workflow
gianbelinche d98f876
More fix workflow
gianbelinche 8435970
Fix compose
gianbelinche 98b109b
Fix workflow
gianbelinche 376718d
Fix l2 connection
gianbelinche 615a2f9
format
gianbelinche 45e0fbd
Fix workflow
gianbelinche faf6051
Fix env volume
gianbelinche 0c9a9a3
Fix register chain
gianbelinche 92e5987
Fix tests step
gianbelinche fe14547
Solve comments
gianbelinche 83ff794
Rename l2 to l2 messenger
gianbelinche 0aa27cd
Ignore clippy on test
gianbelinche 02818be
Add contract call test
gianbelinche bbcdc3a
Merge branch 'main' into feat/l2/shared_bridge
gianbelinche fc06412
Format code
gianbelinche cbfb64f
Add migrations doc
gianbelinche 4fcc242
Fix clippy
gianbelinche 48f14ad
Fix messenger doc
gianbelinche 49bd28a
Fix ci
gianbelinche 90b2428
Move shared bridge steps
gianbelinche 278beb7
Merge branch 'main' into feat/l2/shared_bridge
gianbelinche 1fe8c31
Merge branch 'main' into feat/l2/shared_bridge
gianbelinche 6d6197a
Fix conflicts
gianbelinche 2441375
Fix get batch state reconstruct
gianbelinche 54cbf8d
Merge branch 'main' into feat/l2/shared_bridge
gianbelinche f83d0d9
Fix comments
gianbelinche 345728a
Change migrations path
gianbelinche File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,263 @@ | ||
| name: L2 Shared Bridge | ||
| on: | ||
| push: | ||
| branches: ["main"] | ||
| merge_group: | ||
| pull_request: | ||
| branches: ["**"] | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
| actions: write | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
| cancel-in-progress: true | ||
|
|
||
| env: | ||
| DOCKER_ETHREX_WORKDIR: /usr/local/bin | ||
|
|
||
| jobs: | ||
| detect-changes: | ||
| runs-on: ubuntu-latest | ||
| outputs: | ||
| run_tests: ${{ steps.finish.outputs.run_tests }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: dorny/paths-filter@v3 | ||
| id: filter | ||
| with: | ||
| filters: | | ||
gianbelinche marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| run_tests: | ||
| - "crates/l2/**" | ||
| - "fixtures/**" | ||
| - "crates/blockchain/dev/**" | ||
| - "crates/vm/levm/**" | ||
| - ".github/workflows/pr-main_l2.yaml" | ||
| - "cmd/ethrex/l2/**" | ||
| - name: finish | ||
| id: finish | ||
| run: | | ||
| if [[ "${GITHUB_EVENT_NAME}" == "merge_group" ]]; then | ||
| echo "run_tests=false" >> "$GITHUB_OUTPUT" | ||
| elif [[ "${GITHUB_EVENT_NAME}" != "pull_request" ]]; then | ||
| echo "run_tests=true" >> "$GITHUB_OUTPUT" | ||
| else | ||
| echo "run_tests=${{ steps.filter.outputs.run_tests }}" >> "$GITHUB_OUTPUT" | ||
| fi | ||
| - name: Print result | ||
| run: echo "run_tests=${{ steps.finish.outputs.run_tests }}" | ||
|
|
||
| build-docker: | ||
| name: Build docker image | ||
| runs-on: ubuntu-latest | ||
| needs: detect-changes | ||
| if: ${{ needs.detect-changes.outputs.run_tests == 'true' }} | ||
| steps: | ||
| - name: Checkout sources | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@v3 | ||
|
|
||
| - name: Build L1 docker image | ||
| uses: ./.github/actions/build-docker | ||
| with: | ||
| username: ${{ vars.DOCKERHUB_USERNAME }} | ||
| password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
| tags: ethrex:main | ||
|
|
||
| - name: Upload artifacts | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: ethrex_image | ||
| path: /tmp/ethrex_image.tar | ||
|
|
||
| # We build the docker image for the l2 usage. It needs to add | ||
| # The build args for l2. | ||
| build-docker-l2: | ||
| name: Build docker image L2 | ||
| runs-on: ubuntu-latest | ||
| needs: detect-changes | ||
| if: ${{ needs.detect-changes.outputs.run_tests == 'true' }} | ||
| steps: | ||
| - name: Checkout sources | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@v3 | ||
|
|
||
| - name: Build L2 docker image | ||
| uses: ./.github/actions/build-docker | ||
| with: | ||
| username: ${{ vars.DOCKERHUB_USERNAME }} | ||
| password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
| tags: ethrex:main-l2 | ||
| artifact_path: ethrex_image_l2.tar | ||
| build_args: BUILD_FLAGS=--features l2,l2-sql | ||
|
|
||
| - name: Upload artifacts | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: ethrex_image_l2 | ||
| path: /tmp/ethrex_image_l2.tar | ||
|
|
||
| integration-test: | ||
| name: Integration Test Shared Bridge | ||
| runs-on: ubuntu-latest | ||
| needs: [detect-changes, build-docker, build-docker-l2] | ||
| if: ${{ needs.detect-changes.outputs.run_tests == 'true' }} | ||
| steps: | ||
| - name: Checkout sources | ||
| uses: actions/checkout@v4 | ||
| - name: Setup Rust Environment | ||
| uses: ./.github/actions/setup-rust | ||
|
|
||
| - name: Install solc | ||
| uses: lambdaclass/get-solc@master | ||
| with: | ||
| version: v0.8.29 | ||
| token: ${{ secrets.GITHUB_TOKEN || '' }} | ||
|
|
||
| - name: Build prover | ||
| run: | | ||
| cd crates/l2 | ||
| make build-prover-exec | ||
| mkdir -p prover/src/guest_program/src/sp1/out && touch prover/src/guest_program/src/sp1/out/riscv32im-succinct-zkvm-vk-bn254 && touch prover/src/guest_program/src/sp1/out/riscv32im-succinct-zkvm-vk-u32 | ||
|
|
||
| - name: Build test | ||
| run: | | ||
| cargo test l2 --features l2 --no-run --release | ||
|
|
||
| - name: Download ethrex image artifact | ||
| uses: actions/download-artifact@v4 | ||
| with: | ||
| name: ethrex_image | ||
| path: /tmp | ||
|
|
||
| - name: Load ethrex image | ||
| run: | | ||
| docker load --input /tmp/ethrex_image.tar | ||
|
|
||
| - name: Download ethrex L2 image artifact | ||
| uses: actions/download-artifact@v4 | ||
| with: | ||
| name: ethrex_image_l2 | ||
| path: /tmp | ||
|
|
||
| - name: Load ethrex L2 image | ||
| run: | | ||
| docker load --input /tmp/ethrex_image_l2.tar | ||
|
|
||
| - name: Start L1 | ||
| run: | | ||
| cd crates/l2 | ||
| docker compose up --detach ethrex_l1 | ||
|
|
||
| - name: Deploy contracts L2A | ||
| run: | | ||
| # | ||
| # If this job fails due to connection refused to ethrex_l1 consider increasing the failure retries | ||
| # in the contract_deployer service in crates/l2/docker-compose.yaml | ||
| # | ||
| touch cmd/.env | ||
| cd crates/l2 | ||
| DOCKER_ETHREX_WORKDIR=/usr/local/bin \ | ||
| ETHREX_DEPLOYER_DEPLOY_RICH=true \ | ||
| ETHREX_SHARED_BRIDGE_DEPLOY_ROUTER=true \ | ||
| docker compose up contract_deployer | ||
|
|
||
| DEPLOYER_EXIT_CODE=$(docker inspect -f '{{.State.ExitCode}}' contract_deployer) | ||
| if [ "$DEPLOYER_EXIT_CODE" != "0" ]; then | ||
| echo "If this job fails due to connection refused to ethrex_l1 consider increasing the failure retries in the contract_deployer service in crates/l2/docker-compose.yaml" | ||
| docker logs contract_deployer | ||
| exit 1 | ||
| fi | ||
|
|
||
| - name: Copy env to host | ||
| run: | | ||
| docker cp contract_deployer:/env/.env cmd/.env_l2a | ||
| cat cmd/.env_l2a | ||
|
|
||
| - name: Deploy contracts L2B | ||
| run: | | ||
| jq '.config.chainId = 1730' fixtures/genesis/l2.json > fixtures/genesis/l2b.json | ||
| # | ||
| # If this job fails due to connection refused to ethrex_l1 consider increasing the failure retries | ||
| # in the contract_deployer service in crates/l2/docker-compose.yaml | ||
| # | ||
| touch cmd/.env | ||
| cd crates/l2 | ||
| export $(grep -v '^#' ../../cmd/.env_l2a | xargs) | ||
| DOCKER_ETHREX_WORKDIR=/usr/local/bin \ | ||
| ETHREX_DEPLOYER_DEPLOY_RICH=true \ | ||
| ETHREX_SHARED_BRIDGE_ROUTER_ADDRESS=$ETHREX_SHARED_BRIDGE_ROUTER_ADDRESS \ | ||
| docker compose -f docker-compose.yaml -f docker-compose-l2-shared-bridge.overrides.yaml up contract_deployer | ||
|
|
||
| DEPLOYER_EXIT_CODE=$(docker inspect -f '{{.State.ExitCode}}' contract_deployer) | ||
| if [ "$DEPLOYER_EXIT_CODE" != "0" ]; then | ||
| echo "If this job fails due to connection refused to ethrex_l1 consider increasing the failure retries in the contract_deployer service in crates/l2/docker-compose.yaml" | ||
| docker logs contract_deployer | ||
| exit 1 | ||
| fi | ||
|
|
||
| - name: Copy env to host | ||
| run: | | ||
| docker cp contract_deployer:/env/.env cmd/.env_l2b | ||
| cat cmd/.env_l2b | ||
|
|
||
| - name: Start Sequencer L2A | ||
| run: | | ||
| cp cmd/.env_l2a cmd/.env | ||
| export ETHREX_BLOCK_PRODUCER_BASE_FEE_VAULT_ADDRESS=0x000c0d6b7c4516a5b274c51ea331a9410fe69127 | ||
| export ETHREX_BLOCK_PRODUCER_OPERATOR_FEE_VAULT_ADDRESS=0xd5d2a85751b6F158e5b9B8cD509206A865672362 | ||
| export ETHREX_BLOCK_PRODUCER_OPERATOR_FEE_PER_GAS=1000000000 | ||
| export ETHREX_BLOCK_PRODUCER_L1_FEE_VAULT_ADDRESS=0x45681AE1768a8936FB87aB11453B4755e322ceec | ||
| cd crates/l2 | ||
| export $(xargs < ../../cmd/.env_l2a) | ||
| DOCKER_ETHREX_WORKDIR=/usr/local/bin \ | ||
| ETHREX_WATCHER_BLOCK_DELAY=0 \ | ||
| ETHREX_COMMITTER_COMMIT_TIME=15000 \ | ||
| ETHREX_WATCHER_WATCH_INTERVAL=1000 \ | ||
| ETHREX_WATCHER_L2_RPCS=http://ethrex_l2_b:1730 \ | ||
| ETHREX_WATCHER_L2_CHAIN_IDS=1730 \ | ||
| ETHREX_WATCHER_ROUTER_ADDRESS=$ETHREX_SHARED_BRIDGE_ROUTER_ADDRESS \ | ||
| docker compose -f docker-compose.yaml up --detach --no-deps ethrex_l2 | ||
|
|
||
| - name: Start Sequencer L2B | ||
| run: | | ||
| cp cmd/.env_l2b cmd/.env | ||
| export ETHREX_BLOCK_PRODUCER_BASE_FEE_VAULT_ADDRESS=0x000c0d6b7c4516a5b274c51ea331a9410fe69127 | ||
| export ETHREX_BLOCK_PRODUCER_OPERATOR_FEE_VAULT_ADDRESS=0xd5d2a85751b6F158e5b9B8cD509206A865672362 | ||
| export ETHREX_BLOCK_PRODUCER_OPERATOR_FEE_PER_GAS=1000000000 | ||
| export ETHREX_BLOCK_PRODUCER_L1_FEE_VAULT_ADDRESS=0x45681AE1768a8936FB87aB11453B4755e322ceec | ||
| cd crates/l2 | ||
| export $(xargs < ../../cmd/.env_l2b) | ||
| DOCKER_ETHREX_WORKDIR=/usr/local/bin \ | ||
| ETHREX_WATCHER_BLOCK_DELAY=0 \ | ||
| ETHREX_COMMITTER_COMMIT_TIME=15000 \ | ||
| ETHREX_WATCHER_WATCH_INTERVAL=1000 \ | ||
| ETHREX_WATCHER_L2_RPCS=http://ethrex_l2:1729 \ | ||
| ETHREX_WATCHER_L2_CHAIN_IDS=65536999 \ | ||
| ETHREX_WATCHER_ROUTER_ADDRESS=$ETHREX_SHARED_BRIDGE_ROUTER_ADDRESS \ | ||
| docker compose -f docker-compose.yaml -f docker-compose-l2-shared-bridge.overrides.yaml up --detach --no-deps ethrex_l2_b | ||
|
|
||
| - name: Run tests | ||
| run: | | ||
| sudo chmod -R a+rw crates/l2 | ||
| cd crates/l2 | ||
| cargo run --release --features "l2,l2-sql" --manifest-path ../../Cargo.toml -- \ | ||
| l2 prover \ | ||
| --proof-coordinators tcp://127.0.0.1:3900 tcp://127.0.0.1:3901 \ | ||
| --backend exec & | ||
| docker logs --follow ethrex_l2 & | ||
| docker logs --follow ethrex_l2_b & | ||
| docker logs --follow ethrex_l1 & | ||
| cargo test shared_bridge --release -- --nocapture --test-threads=1 | ||
| cp ../../cmd/.env_l2a ../../cmd/.env | ||
| PROPOSER_COINBASE_ADDRESS=0x0007a881CD95B1484fca47615B64803dad620C8d INTEGRATION_TEST_SKIP_TEST_TOTAL_ETH=true cargo test l2 --release -- --nocapture --test-threads=1 | ||
| cp ../../cmd/.env_l2b ../../cmd/.env | ||
| PROPOSER_COINBASE_ADDRESS=0x0007a881CD95B1484fca47615B64803dad620C8d INTEGRATION_TEST_SKIP_TEST_TOTAL_ETH=true INTEGRATION_TEST_L2_RPC=http://localhost:1730 cargo test l2 --release -- --nocapture --test-threads=1 | ||
| cargo test shared_bridge --release -- --nocapture --test-threads=1 | ||
| killall ethrex -s SIGINT | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.