mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-20 07:29:02 +00:00
Merge branch 'ssz-impl-rework' of github.com:ethereum/eth2.0-specs into ssz-impl-rework
This commit is contained in:
commit
3630b2ea9f
@ -12,6 +12,7 @@ L = TypeVar('L')
|
|||||||
|
|
||||||
class uint(int):
|
class uint(int):
|
||||||
byte_len = 0
|
byte_len = 0
|
||||||
|
|
||||||
def __new__(cls, value, *args, **kwargs):
|
def __new__(cls, value, *args, **kwargs):
|
||||||
if value < 0:
|
if value < 0:
|
||||||
raise ValueError("unsigned types must not be negative")
|
raise ValueError("unsigned types must not be negative")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user