Bump to whole patch version

This commit is contained in:
nolash 2021-11-15 14:38:35 +01:00
parent 0053a1fc71
commit 3dd286285c
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
3 changed files with 8 additions and 5 deletions

View File

@ -117,12 +117,15 @@ class Declarator(TxFactory):
@classmethod @classmethod
def parse_declaration(self, v): def parse_declaration(self, v):
cursor = 0 cursor = 0
v = strip_0x(v) r = []
try:
v = strip_0x(v)
except ValueError:
return r
position = int.from_bytes(bytes.fromhex(v[cursor:cursor+64]), 'big') position = int.from_bytes(bytes.fromhex(v[cursor:cursor+64]), 'big')
cursor += (position * 2) cursor += (position * 2)
length = int.from_bytes(bytes.fromhex(v[cursor:cursor+64]), 'big') length = int.from_bytes(bytes.fromhex(v[cursor:cursor+64]), 'big')
cursor += 64 cursor += 64
r = []
for i in range(length): for i in range(length):
r.append(v[cursor:cursor+64]) r.append(v[cursor:cursor+64])
cursor += 64 cursor += 64

View File

@ -1,2 +1,2 @@
confini>=0.3.6rc3,<0.5.0 confini~=0.5.1
chainlib-eth>=0.0.9a13,<=0.1.0 chainlib-eth~=0.0.10

View File

@ -1,6 +1,6 @@
[metadata] [metadata]
name = eth-address-index name = eth-address-index
version = 0.2.4a2 version = 0.2.4
description = Signed metadata declarations for ethereum addresses description = Signed metadata declarations for ethereum addresses
author = Louis Holbrook author = Louis Holbrook
author_email = dev@holbrook.no author_email = dev@holbrook.no