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

Function is_basic

spec_pythonizer/minimal_ssz.py:50–51  ·  view source on GitHub ↗
(typ)

Source from the content-addressed store, hash-verified

48 remove = clear = extend = pop = insert = append
49
50def is_basic(typ):
51 return isinstance(typ, str) and (typ[:4] in ('uint', 'bool') or typ == 'byte')
52
53def is_constant_sized(typ):
54 if is_basic(typ):

Callers 2

is_constant_sizedFunction · 0.70
hash_tree_rootFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected