Skip to content

Use fork of rust-verkle crates for improved commitment performance - #335

Merged
psalz merged 1 commit into
mainfrom
psalz/use-rust-verkle-fork
Jan 29, 2026
Merged

psalz merged 1 commit into
mainfrom
psalz/use-rust-verkle-fork

Conversation

@psalz

@psalz psalz commented Jan 29, 2026 •

Copy link
Copy Markdown
Contributor

This fork improves the performance of committing to vectors with a lot of zero-valued scalars, which frequently happens when updating commitments. I've opened a PR to upstream these changes, we can switch back to the original crate once/if that gets merged.

Performance for the first 100K blocks on sonic-bare-c improves from 118 MGas/s to 159 MGas/s.
Running for blocks 600K through 700K improves from 180 MGas/s to 362 MGas/s.

This fork improves the performance of committing to vectors with a lot
of zero-valued scalars, which frequently happens when updating
commitments.
@codecov

codecov Bot commented Jan 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
see 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@LorenzSchueler LorenzSchueler left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@psalz
psalz merged commit c2da9e0 into main Jan 29, 2026
13 checks passed
@psalz
psalz deleted the psalz/use-rust-verkle-fork branch January 29, 2026 13:37
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