Incorporate reset method for arg flags
This commit is contained in:
parent
55a72ed6d6
commit
75c72b7828
@ -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,
|
||||
|
@ -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()
|
||||
|
@ -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'))
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user