chainlib-eth

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

commit d49e3dd6ecf8f953fa47e667f247d5ac4cb739a5
parent d3f2b1f1fa252d73afa8b33b0d4e5aff6322bcf9
Author: lash <dev@holbrook.no>
Date:   Wed, 23 Feb 2022 09:47:03 +0000

Add environment description override

Diffstat:
Mchainlib/eth/block.py | 1-
Achainlib/eth/data/env/env.ini | 2++
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/chainlib/eth/block.py b/chainlib/eth/block.py @@ -36,7 +36,6 @@ def block_by_number(n, include_tx=True, id_generator=None): """Implements chainlib.interface.ChainInterface method """ hx = strip_0x(hex(n)) - sys.stderr.write('hx {} {}\n'.format(n, hx)) nhx = add_0x(compact(hx), compact_value=True) j = JSONRPCRequest(id_generator) o = j.template() diff --git a/chainlib/eth/data/env/env.ini b/chainlib/eth/data/env/env.ini @@ -0,0 +1,2 @@ +[rpc] +provider = Fully-qualified URL to EVM node's RPC endpoint.