Skip to content

Conversation

@tcoratger
Copy link
Contributor

@tcoratger tcoratger commented Nov 25, 2025

Should close #11

@sauliusgrigaitis
Copy link

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
Copy link

KolbyML commented Nov 26, 2025

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
Copy link

@KolbyML KolbyML left a comment

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