Add dict output
This commit is contained in:
parent
3cfeb9ce84
commit
a76020b13b
@ -429,6 +429,8 @@ class TxFactory:
|
|||||||
return self.build_raw(tx)
|
return self.build_raw(tx)
|
||||||
elif tx_format == TxFormat.RAW_ARGS:
|
elif tx_format == TxFormat.RAW_ARGS:
|
||||||
return strip_0x(tx['data'])
|
return strip_0x(tx['data'])
|
||||||
|
elif tx_format == TxFormat.DICT:
|
||||||
|
return tx
|
||||||
raise NotImplementedError('tx formatting {} not implemented'.format(tx_format))
|
raise NotImplementedError('tx formatting {} not implemented'.format(tx_format))
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = chainlib-eth
|
name = chainlib-eth
|
||||||
version = 0.1.0b4
|
version = 0.1.0
|
||||||
description = Ethereum implementation of the chainlib interface
|
description = Ethereum implementation of the chainlib interface
|
||||||
author = Louis Holbrook
|
author = Louis Holbrook
|
||||||
author_email = dev@holbrook.no
|
author_email = dev@holbrook.no
|
||||||
|
Loading…
Reference in New Issue
Block a user