Skip to content

Switch to libssz#26

Merged
jsign merged 9 commits intomainfrom
jsign-libssz
Mar 21, 2026
Merged

Switch to libssz#26
jsign merged 9 commits intomainfrom
jsign-libssz

Conversation

@jsign
Copy link
Collaborator

@jsign jsign commented Mar 20, 2026

This PR switches from Ligthouse SSZ library to Lambdaclass new SSZ library.

This has many benefits:

  1. libssz has native no_std support, so it allows us to now run Airbender.
  2. From the measurements I've done with Zisk cost calculator, the hash tree root for the output commitment is 2x faster. Technically, this should result in an overall proving speedup of ~5% (previous hash tree root influence in total proving time was ~10%).
  3. Much less indirect dependencies, and also remove one ethereum_hashing patch I had to do, so less complexity/forks.

Fixes #8

jsign added 3 commits March 20, 2026 11:53
Signed-off-by: jsign <jsign.uy@gmail.com>
Signed-off-by: jsign <jsign.uy@gmail.com>
@jsign jsign marked this pull request as ready for review March 20, 2026 16:08
@jsign jsign requested a review from han0110 March 20, 2026 16:08
Copy link
Collaborator

@han0110 han0110 left a comment

Choose a reason for hiding this comment

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

LGTM! Just a nit on naming consistency, it's good to keep as is.

jsign added 2 commits March 21, 2026 12:22
Signed-off-by: jsign <jsign.uy@gmail.com>
@jsign jsign merged commit dcd00fe into main Mar 21, 2026
29 of 30 checks passed
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.

Make stateless-validator-common no_std

3 participants