Skip to content

Conversation

@chetanyb
Copy link
Contributor

Summary

  • Add -Duse_poseidon build flag to switch SSZ hasher from SHA256 to Poseidon (default: false)
  • Bump ssz.zig to v0.0.9

Usage

zig build -Doptimize=ReleaseFast -Dgit_version="$(git rev-parse --short HEAD)" # uses SHA256 (default)
zig build -Doptimize=ReleaseFast -Dgit_version="$(git rev-parse --short HEAD)" -Duse_poseidon=true  # uses Poseidon

Copy link
Collaborator

@anshalshukla anshalshukla left a comment

Choose a reason for hiding this comment

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

lgtm

@g11tech g11tech changed the title Add compile-time use_poseidon flag for SSZ hasher selection add compile-time use_poseidon flag for SSZ hasher selection Jan 27, 2026
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