Skip to content

core: implement ssz for all objects with tests - #14

Merged
tcoratger merged 7 commits into
leanEthereum:mainfrom
tcoratger:full-ssz
Nov 28, 2025
Merged

tcoratger merged 7 commits into
leanEthereum:mainfrom
tcoratger:full-ssz

Conversation

@tcoratger

@tcoratger tcoratger commented Nov 25, 2025

Copy link
Copy Markdown
Contributor

Should close #11

@sauliusgrigaitis

Copy link
Copy Markdown

Grandine is also working on Lean client and we use our own SSZ and other libraries so best would be if cryptography library is not coupled with some particular client's library. Likely the solution is to ship SSZ related code as a separate crate.

@KolbyML

KolbyML commented Nov 26, 2025

Copy link
Copy Markdown

For BLS on the Beacon chain what is normally is done, is the BLS crate has a from_bytes or to_bytes function, then a Beacon client would put those bytes into a FixedBytes then serialize it to ssz.

I am assuming that is what @sauliusgrigaitis wants. @tcoratger do you still want us/ream to test this PR, or should we wait for what @sauliusgrigaitis is requesting?

@tcoratger
tcoratger marked this pull request as draft November 26, 2025 20:25
@tcoratger
tcoratger marked this pull request as ready for review November 26, 2025 21:09
Comment thread src/signature/generalized_xmss.rs

@KolbyML KolbyML left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

It works for us ReamLabs/ream#992

@tcoratger
tcoratger merged commit 397e7cc into leanEthereum:main Nov 28, 2025
2 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.

Implement SSZ Encode/Decode traits on LeanSig types/objects

4 participants