chainlib-eth

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

commit e9b7d276706ef4b419391020dafdf18aad9bfead
parent f688cba5cc9f215654f0c96a6804bb81f3ec5dc0
Author: nolash <dev@holbrook.no>
Date:   Fri,  7 Jan 2022 12:27:02 +0000

Add raw output to notx/nosign encode (args only)

Diffstat:
Mchainlib/eth/runnable/encode.py | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/chainlib/eth/runnable/encode.py b/chainlib/eth/runnable/encode.py @@ -112,6 +112,9 @@ def main(): exec_address = add_0x(to_checksum_address(config.get('_EXEC_ADDRESS'))) if signer == None or config.true('_NOTX'): + if config.true('_RAW'): + print(strip_0x(code)) + return c = TxFactory(chain_spec) j = JSONRPCRequest(id_generator=rpc.id_generator) o = j.template()