Upgrade chainlib (dumpconfig)
This commit is contained in:
parent
ca39114819
commit
a3f8f92f9c
@ -36,7 +36,6 @@ arg_flags = chainlib.eth.cli.argflag_std_read
|
|||||||
argparser = chainlib.eth.cli.ArgumentParser(arg_flags)
|
argparser = chainlib.eth.cli.ArgumentParser(arg_flags)
|
||||||
argparser.add_positional('address', type=str, help='Ethereum address of recipient')
|
argparser.add_positional('address', type=str, help='Ethereum address of recipient')
|
||||||
args = argparser.parse_args()
|
args = argparser.parse_args()
|
||||||
#config = chainlib.eth.cli.Config.from_args(args, arg_flags, default_config_dir=config_dir)
|
|
||||||
config = chainlib.eth.cli.Config.from_args(args, arg_flags)
|
config = chainlib.eth.cli.Config.from_args(args, arg_flags)
|
||||||
|
|
||||||
wallet = chainlib.eth.cli.Wallet()
|
wallet = chainlib.eth.cli.Wallet()
|
||||||
|
@ -42,6 +42,7 @@ conn = rpc.connect_by_config(config)
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
# TODO: should tolerate if address not prefixed with 0x
|
||||||
o = count(holder_address, id_generator=rpc.id_generator)
|
o = count(holder_address, id_generator=rpc.id_generator)
|
||||||
r = conn.do(o)
|
r = conn.do(o)
|
||||||
count_result = None
|
count_result = None
|
||||||
|
@ -3,5 +3,5 @@ pysha3==1.0.2
|
|||||||
hexathon~=0.0.1a8
|
hexathon~=0.0.1a8
|
||||||
websocket-client==0.57.0
|
websocket-client==0.57.0
|
||||||
potaahto~=0.0.1a1
|
potaahto~=0.0.1a1
|
||||||
chainlib==0.0.9a8
|
chainlib==0.0.9a9
|
||||||
confini>=0.4.1a1,<0.5.0
|
confini>=0.4.1a1,<0.5.0
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = chainlib-eth
|
name = chainlib-eth
|
||||||
version = 0.0.9a11
|
version = 0.0.9a12
|
||||||
description = Ethereum implementation of the chainlib interface
|
description = Ethereum implementation of the chainlib interface
|
||||||
author = Louis Holbrook
|
author = Louis Holbrook
|
||||||
author_email = dev@holbrook.no
|
author_email = dev@holbrook.no
|
||||||
|
Loading…
Reference in New Issue
Block a user