1 parent 51adfec commit 55a50bdCopy full SHA for 55a50bd
1 file changed
src/lean_spec/types/collections.py
@@ -46,7 +46,7 @@ class Uint16Vector2(SSZVector):
46
"""The immutable data stored in the vector."""
47
48
@field_serializer("data", when_used="json")
49
- def _serialize_vector_data(self, value: Tuple[SSZType, ...]) -> list[Any]:
+ def _serialize_data(self, value: Tuple[SSZType, ...]) -> list[Any]:
50
"""Serialize vector elements to JSON, preserving custom type serialization."""
51
from lean_spec.subspecs.koalabear import Fp
52
0 commit comments