chainlib-eth

Ethereum implementation of the chainlib interface
Log | Files | Refs | README | LICENSE

commit b39478825898cf28961c7c68659caa52d6a1135a
parent 03d144b2f7c09179ebe3baaefeda92d4ea00ef9c
Author: lash <dev@holbrook.no>
Date:   Mon, 13 Feb 2023 05:46:29 +0000

Merge tag 'v0.4.14' into dev-0.4.15

Diffstat:
MCHANGELOG | 4+++-
Mchainlib/eth/runnable/encode.py | 7++++++-
2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG @@ -1,5 +1,7 @@ -- 0.4.14 +- 0.4.15 * Enable setting of unsigned sender address for contract calls +- 0.4.14 + * Enable wait on eth-encode - 0.4.13 * Enable send from eth-encode - 0.4.12 diff --git a/chainlib/eth/runnable/encode.py b/chainlib/eth/runnable/encode.py @@ -211,7 +211,12 @@ def main(): (tx_hash_hex, o) = c.finalize(tx, tx_format=tx_format) if settings.get('RPC_SEND'): r = conn.do(o) - print(r) + if settings.get('WAIT'): + r = conn.wait(tx_hash_hex) + if r['status'] == 0: + logg.critical('VM revert. Wish I could tell you more') + sys.exit(1) + print(tx_hash_hex) else: if config.get('_RAW'): o = strip_0x(o)