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

This commit is contained in:
nolash 2022-01-07 12:27:02 +00:00
parent f688cba5cc
commit e9b7d27670
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
1 changed files with 3 additions and 0 deletions

View File

@ -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()