commit a76020b13b2c235b146d8798aa01c4acc76fb218
parent 3cfeb9ce8402f47abd95e0017e374974546a2c5a
Author: lash <dev@holbrook.no>
Date: Sun, 10 Apr 2022 19:04:50 +0000
Add dict output
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/chainlib/eth/tx.py b/chainlib/eth/tx.py
@@ -429,6 +429,8 @@ class TxFactory:
return self.build_raw(tx)
elif tx_format == TxFormat.RAW_ARGS:
return strip_0x(tx['data'])
+ elif tx_format == TxFormat.DICT:
+ return tx
raise NotImplementedError('tx formatting {} not implemented'.format(tx_format))
diff --git a/setup.cfg b/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = chainlib-eth
-version = 0.1.0b4
+version = 0.1.0
description = Ethereum implementation of the chainlib interface
author = Louis Holbrook
author_email = dev@holbrook.no