[E2E Test] Full-node syncs using block-sync AND DA when joining the network
Closed this issue · 0 comments
srene commented
Test Case Type
New
DRS
ALL
Target Milestone
3D
Test Case Issue link
No response
Epic
full node sync
Test Case Description
In this test a full-node must sync using blocksync protocol, when it joins the network, but both nodes are also connected to DA and there are submitted batches. Full-node should sync from any of the both sources (P2P or DA). DA can be grpc or celestia.
Preconditions
- 1 rollapp (rollappA) registered to the hub.
- 1 sequencer registered for rollappA
- 1 sequencer node configured using mock DA
- 1 full-node configured using celestia as a DA
- batch_submit_max_time set to small value to have batches submitted during the test
- full-node is started using p2p info from sequencer (instructions)
- gossip block cache size (p2p_gossip_cache_size) is 1
- blocksync enabled. p2p_blocksync_enabled set to true
- p2p_blocksync_block_request_interval set to 10
Test Steps
- sequencer generates blocks at 0.2 seconds rate
- sequencer starts generating blocks
- sequencer stats submitting batches to DA.
- Full node joins after X batches submitted.
Expected Results
- Full node syncs after joining, from DA and P2P.
Live Test
- Yes
Comments
No response