chainlib-eth

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

commit 75c72b78283f2bd1e784ed16ccce0dc0789d7258
parent 55a72ed6d622c43dd1e3e88b5a7ba0cf8fb68f5f
Author: nolash <dev@holbrook.no>
Date:   Wed,  6 Oct 2021 07:13:05 +0200

Incorporate reset method for arg flags

Diffstat:
Mchainlib/eth/cli.py | 1+
Mchainlib/eth/runnable/encode.py | 1-
Mchainlib/eth/runnable/raw.py | 3---
Mrequirements.txt | 2+-
Msetup.cfg | 2+-
5 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/chainlib/eth/cli.py b/chainlib/eth/cli.py @@ -8,6 +8,7 @@ from chainlib.cli import ( argflag_std_read, argflag_std_write, argflag_std_base, + reset as argflag_reset, Config as BaseConfig, Wallet as BaseWallet, Rpc as BaseRpc, Flag, diff --git a/chainlib/eth/runnable/encode.py b/chainlib/eth/runnable/encode.py @@ -59,7 +59,6 @@ config_dir = os.path.join(script_dir, '..', 'data', 'config') arg_flags = chainlib.eth.cli.argflag_std_write | chainlib.eth.cli.Flag.EXEC argparser = chainlib.eth.cli.ArgumentParser(arg_flags) -argparser = chainlib.eth.cli.ArgumentParser(arg_flags) argparser.add_argument('--signature', type=str, help='Method signature to encode') argparser.add_argument('contract_args', type=str, nargs='*', help='arguments to encode') args = argparser.parse_args() diff --git a/chainlib/eth/runnable/raw.py b/chainlib/eth/runnable/raw.py @@ -66,9 +66,6 @@ conn = rpc.connect_by_config(config) send = config.true('_RPC_SEND') -#if config.get('_EXEC_ADDRESS') != None: -# send = False - chain_spec = None try: chain_spec = ChainSpec.from_chain_str(config.get('CHAIN_SPEC')) diff --git a/requirements.txt b/requirements.txt @@ -3,5 +3,5 @@ pysha3==1.0.2 hexathon~=0.0.1a8 websocket-client==0.57.0 potaahto~=0.0.1a1 -chainlib==0.0.9a11 +chainlib==0.0.9rc1 confini>=0.4.1a1,<0.5.0 diff --git a/setup.cfg b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = chainlib-eth -version = 0.0.9a16 +version = 0.0.9rc1 description = Ethereum implementation of the chainlib interface author = Louis Holbrook author_email = dev@holbrook.no