Bug#1108722: ITP: golang-github-pk910-dynamic-ssz -- Dynamic SSZ serializer in go
Package: wnpp
Severity: wishlist
Owner: Leonardo Arias Fonseca <agami@riseup.net>
* Package name : golang-github-pk910-dynamic-ssz
Version : 1.0.0-1
Upstream Author : pk910
* URL : https://github.com/pk910/dynamic-ssz
* License : Apache-2.0
Programming Lang: Go
Description : Dynamic SSZ serializer in go
Go library designed to provide flexible and
dynamic SSZ encoding/decoding for any Go data structures. It stands out
by using runtime reflection to handle serialization and deserialization
of types with variable field sizes, enabling it to support dynamic
specifications and configurations. While commonly used with Ethereum
data structures and presets (mainnet, minimal, custom), it works with
any SSZ-compatible types. dynssz integrates with fastssz to leverage
static type information for encoding/decoding when possible, but its
primary advantage lies in its ability to adapt to dynamic field sizes
that are not well-suited to static code generation methods.
.
dynssz is designed to bridge the gap between the efficiency of static
SSZ encoding/decoding and the flexibility required for handling dynamic
data structures. It achieves this through a hybrid approach that
combines the best of both worlds: leveraging fastssz for static types
and dynamically processing types with variable sizes.
I want to package this library to unblock mev-boost, ITP bug #1107167.
Reply to: