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

Investigate replica not being able to sync through P2P #53

Open
klkvr opened this issue Oct 17, 2024 · 1 comment
Open

Investigate replica not being able to sync through P2P #53

klkvr opened this issue Oct 17, 2024 · 1 comment

Comments

@klkvr
Copy link
Member

klkvr commented Oct 17, 2024

ref #52

This is mostly related to https://github.com/paradigmxyz/optimism-package

Right now in some cases when launching the kurtosis package replica is not being able to load sequencer address from L1:

t=2024-10-15T19:54:34+0000 lvl=info msg="loaded new runtime config values!" p2p_seq_address=0x0000000000000000000000000000000000000000

This results in CL syncing by reading batches from L1 until the point it tries to load sequencer address again:

t=2024-10-15T20:04:28+0000 lvl=warn msg="no configured p2p sequencer address, ignoring gossiped block" topic=blocksV3 peer=16Uiu2HAmEMg2fcevVBL1fktiLykmPsMmUmpspxtnkXQviLpgXNXx addr=0x196652bb4Fe58A500e1BB42936F70b58C59E1013
t=2024-10-15T20:04:29+0000 lvl=warn msg="no configured p2p sequencer address, ignoring gossiped block" topic=blocksV3 peer=16Uiu2HAmEMg2fcevVBL1fktiLykmPsMmUmpspxtnkXQviLpgXNXx addr=0x196652bb4Fe58A500e1BB42936F70b58C59E1013
t=2024-10-15T20:04:30+0000 lvl=warn msg="no configured p2p sequencer address, ignoring gossiped block" topic=blocksV3 peer=16Uiu2HAmEMg2fcevVBL1fktiLykmPsMmUmpspxtnkXQviLpgXNXx addr=0x196652bb4Fe58A500e1BB42936F70b58C59E1013
t=2024-10-15T20:04:31+0000 lvl=warn msg="no configured p2p sequencer address, ignoring gossiped block" topic=blocksV3 peer=16Uiu2HAmEMg2fcevVBL1fktiLykmPsMmUmpspxtnkXQviLpgXNXx addr=0x196652bb4Fe58A500e1BB42936F70b58C59E1013
t=2024-10-15T20:04:32+0000 lvl=warn msg="no configured p2p sequencer address, ignoring gossiped block" topic=blocksV3 peer=16Uiu2HAmEMg2fcevVBL1fktiLykmPsMmUmpspxtnkXQviLpgXNXx addr=0x196652bb4Fe58A500e1BB42936F70b58C59E1013
t=2024-10-15T20:04:33+0000 lvl=warn msg="no configured p2p sequencer address, ignoring gossiped block" topic=blocksV3 peer=16Uiu2HAmEMg2fcevVBL1fktiLykmPsMmUmpspxtnkXQviLpgXNXx addr=0x196652bb4Fe58A500e1BB42936F70b58C59E1013
t=2024-10-15T20:04:34+0000 lvl=warn msg="no configured p2p sequencer address, ignoring gossiped block" topic=blocksV3 peer=16Uiu2HAmEMg2fcevVBL1fktiLykmPsMmUmpspxtnkXQviLpgXNXx addr=0x196652bb4Fe58A500e1BB42936F70b58C59E1013
t=2024-10-15T20:04:34+0000 lvl=info msg="loaded new runtime config values!" p2p_seq_address=0x196652bb4Fe58A500e1BB42936F70b58C59E1013

Until CL founds a sequencer address the replica's EL is ~100 blocks behind the sequencer resulting in issues during testing

@klkvr
Copy link
Member Author

klkvr commented Oct 17, 2024

I would think that this is some kind of race condition occuring because L2 is being launched before the contracts deployment was completed but it seems that those are executed sequentially

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant