Add raw args option for tx factory

This commit is contained in:
nolash 2021-10-10 17:56:30 +02:00
parent 14ccb8d375
commit dee523bada
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
2 changed files with 3 additions and 1 deletions

View File

@ -419,6 +419,8 @@ class TxFactory:
return self.build(tx, id_generator=id_generator)
elif tx_format == TxFormat.RLP_SIGNED:
return self.build_raw(tx)
elif tx_format == TxFormat.RAW_ARGS:
return tx['data']
raise NotImplementedError('tx formatting {} not implemented'.format(tx_format))

View File

@ -1,6 +1,6 @@
[metadata]
name = chainlib-eth
version = 0.0.9rc3
version = 0.0.10a1
description = Ethereum implementation of the chainlib interface
author = Louis Holbrook
author_email = dev@holbrook.no