From a76020b13b2c235b146d8798aa01c4acc76fb218 Mon Sep 17 00:00:00 2001 From: lash Date: Sun, 10 Apr 2022 19:04:50 +0000 Subject: [PATCH] Add dict output --- chainlib/eth/tx.py | 2 ++ setup.cfg | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/chainlib/eth/tx.py b/chainlib/eth/tx.py index 9ffa460..9369092 100644 --- 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 index 257f7fb..1f73944 100644 --- 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