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

Function signed_root

spec_pythonizer/minimal_ssz.py:186–187  ·  view source on GitHub ↗
(container)

Source from the content-addressed store, hash-verified

184 return truncated_class(**kwargs)
185
186def signed_root(container):
187 return hash_tree_root(truncate(container))
188
189def serialize(ssz_object):
190 return getattr(ssz_object, 'serialize')()

Callers 4

test_proposer_slashingFunction · 0.90
create_deposit_dataFunction · 0.90
test_voluntary_exitFunction · 0.90
test_transferFunction · 0.90

Calls 2

hash_tree_rootFunction · 0.70
truncateFunction · 0.70

Tested by 3

test_proposer_slashingFunction · 0.72
test_voluntary_exitFunction · 0.72
test_transferFunction · 0.72