MCPcopy
hub / github.com/ethereum/research / serialize

Method serialize

spec_pythonizer/minimal_ssz.py:31–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

29 return "\n".join(output)
30
31 def serialize(self):
32 return serialize_value(self, self.__class__)
33
34 def hash_tree_root(self):
35 return hash_tree_root(self, self.__class__)

Callers 4

__eq__Method · 0.95
test_deposit_in_blockFunction · 0.45
test_deposit_top_upFunction · 0.45

Calls 1

serialize_valueFunction · 0.70

Tested by 2

test_deposit_in_blockFunction · 0.36
test_deposit_top_upFunction · 0.36