Skip to content
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

[E2E Test] Full-node syncs using block-sync - full node disconnects #363

Closed
1 task
srene opened this issue Aug 9, 2024 · 0 comments · Fixed by #384
Closed
1 task

[E2E Test] Full-node syncs using block-sync - full node disconnects #363

srene opened this issue Aug 9, 2024 · 0 comments · Fixed by #384
Assignees

Comments

@srene
Copy link

srene commented Aug 9, 2024

Test Case Type

New

DRS

EVM

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, requesting blocks on demand from the sequencer using P2P, when it gets disconnected and is out of sync.

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 1h to avoid syncing from DA
  • 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
  • Full node joins after X blocks created.
  • Full node syncs after joining, from P2P only
  • Full node disconnects and gets out of sync

Expected Results

After the full node reconnects again, it should automatically connect to the sequencer and request the missing blocks during the disconnection, and get in sync.

Live Test

  • Yes

Comments

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment