From d49e3dd6ecf8f953fa47e667f247d5ac4cb739a5 Mon Sep 17 00:00:00 2001 From: lash Date: Wed, 23 Feb 2022 09:47:03 +0000 Subject: [PATCH] Add environment description override --- chainlib/eth/block.py | 1 - chainlib/eth/data/env/env.ini | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 chainlib/eth/data/env/env.ini diff --git a/chainlib/eth/block.py b/chainlib/eth/block.py index 11c2cbe..e2bf10c 100644 --- 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 new file mode 100644 index 0000000..1520993 --- /dev/null +++ b/chainlib/eth/data/env/env.ini @@ -0,0 +1,2 @@ +[rpc] +provider = Fully-qualified URL to EVM node's RPC endpoint.