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

Support partial sync for test l1s #683

Merged
merged 1 commit into from
Dec 13, 2024
Merged

Support partial sync for test l1s #683

merged 1 commit into from
Dec 13, 2024

Conversation

cam-schultz
Copy link
Contributor

Why this should be merged

Adds support for partial sync in the e2e test framework so that L1s under test can be configured to not track the C-Chain. If partial sync is enabled, the Warp self-signing optimization for messages from the C-Chain cannot be used, since the signing nodes don't track the C-Chain. requirePrimaryNetworkSigners must be set to true in the Warp precompile config in that case.

How this works

Adds a field to the L1 spec to enable partial sync. This results in requirePrimaryNetworkSigners=true in the L1 spec's genesis. The Warp verification settings are stored in the L1TestInfo struct.

How this was tested

CI, modified Teleporter and Validator Manager test suites to use partial sync.

How is this documented

N/A

@cam-schultz cam-schultz merged commit 046ca6d into main Dec 13, 2024
17 checks passed
@cam-schultz cam-schultz deleted the test-partial-sync branch December 13, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants