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

perf: use only parent header for input #31

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

xJonathanLEI
Copy link
Contributor

The client only ever needs the state root and header hash. There's no reason to pass in the whole parent block.

Tested on block 20600000 over 5 runs yielding an average of 762,187,948 cycles, slightly down from 762,727,324 on current main (378ccee).

@xJonathanLEI xJonathanLEI merged commit 1691e43 into succinctlabs:main Aug 27, 2024
1 check passed
@xJonathanLEI xJonathanLEI deleted the dev/parent_header branch August 27, 2024 19:58
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

Successfully merging this pull request may close these issues.

2 participants