diff --git a/spec_pythonizer/minimal_ssz.py b/spec_pythonizer/minimal_ssz.py index c5fb9de6..88df2e10 100644 --- a/spec_pythonizer/minimal_ssz.py +++ b/spec_pythonizer/minimal_ssz.py @@ -39,7 +39,7 @@ def hash_tree_root(self): return SSZObject def is_basic(typ): - return isinstance(typ, str) and typ[:4] in ('uint', 'bool') + return isinstance(typ, str) and (typ[:4] in ('uint', 'bool') or typ == 'byte') def is_constant_sized(typ): if is_basic(typ):