Skip to content

Add sha2 support for non-x86_64 platforms via feature gate. - #18

Merged
michaelsproul merged 2 commits into
sigp:mainfrom
koxu1996:feature/add-sha2-feature
Feb 11, 2026
Merged

michaelsproul merged 2 commits into
sigp:mainfrom
koxu1996:feature/add-sha2-feature

Conversation

@koxu1996

Copy link
Copy Markdown
Contributor

Quick attempt to allow usage of sha2 on targets like WASM or RISC-V.

This would help fixing sigp/ssz_types#79, because users could just add explicit ethereum_hashing dependency with sha2 feature enabled - then it could be compiled in zkVM.

@michaelsproul

Copy link
Copy Markdown
Member

Hey @koxu1996, sorry for the slow feedback. We like this design, can you please fix the cargo fmt failure?

We'll fix the cargo tarpaulin issue.

@koxu1996

koxu1996 commented Feb 4, 2026

Copy link
Copy Markdown
Contributor Author

@michaelsproul No worries, formatting fixed.

@koxu1996

Copy link
Copy Markdown
Contributor Author

@michaelsproul Any progress with tarpaulin fix?

@michaelsproul

Copy link
Copy Markdown
Member

Ah no, sorry fell off my TODO list. Not sure what's wrong with it

@michaelsproul

Copy link
Copy Markdown
Member

Something with the token settings I think, I'll just merge as-is and fix it later.

@michaelsproul
michaelsproul merged commit bfbaafe into sigp:main Feb 11, 2026
22 of 24 checks passed
@koxu1996
koxu1996 deleted the feature/add-sha2-feature branch February 11, 2026 17:36
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