Incorporate reset method for arg flags

This commit is contained in:
nolash 2021-10-06 07:13:05 +02:00
parent 55a72ed6d6
commit 75c72b7828
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
5 changed files with 3 additions and 6 deletions

View File

@ -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,

View File

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

View File

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

View File

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

View File

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