You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: integrate l2geth in docker-compose e2e tests (#227)
* feat: integrate l2geth in docker-compose e2e tests
* support local genesis
* address comments
* fix CI
* update scripts
* increase log level
* update gas limits
* update reth commit
* cargo.lock
* fix compile errors
* add initial test
* fix lint
* launch l2geth sequencer and read active signer from L1
* launch l2geth follower
* fix issue with custom genesis where fields are missing and mixed up
* adjust chain id to arbitrary number to avoid conflict with named chain
* rollup node follower can follow chain produced by l2geth sequencer
* configure rollup node sequencer correctly and connect to other nodes
* add health check for l1-node to make sure it is fully set up before l2 nodes start
* refactor DockerComposeEnv and add more convenience functions for tests to control sequencer. RN sequencer and l2geth sequencer start without producing blocks automatically.
* fix CI
* remove todos
* avoid building Docker image when only Docker integration test changes
---------
Co-authored-by: colinlyguo <[email protected]>
Co-authored-by: jonastheis <[email protected]>
.ok_or_else(|| eyre::eyre!("Invalid or missing 'systemContractAddress'"))?;
134
+
135
+
// TODO:
136
+
// - config.l1_config.l2_system_config_address is not used here.
137
+
// - start_l1_block is not present currently in the config.
138
+
// - system_contract_address is not extracted from the config in https://github.com/scroll-tech/reth/blob/scroll/crates/scroll/chainspec/src/genesis.rs#L20
139
+
// - do we need: l1_message_queue_v2_deployment_block? maybe instead we could use
140
+
// v2_message_queue_starting_index
141
+
// - ultimately we want to make sure all relevant config is extracted from `ScrollChainInfo`
142
+
// and not partially here. see https://github.com/scroll-tech/rollup-node/issues/303
0 commit comments