eth-address-index

signed metadata declarations for ethereum addresses
Log | Files | Refs

commit af63615eeb1962858459f59fe5a94a3d69f64578
parent 92e826d559b7da479b368a5a25d44a4e13998b3f
Author: lash <dev@holbrook.no>
Date:   Wed, 20 Apr 2022 21:23:35 +0000

Upgrade deps

Diffstat:
Mpython/CHANGELOG | 4++++
Mpython/eth_address_declarator/runnable/view.py | 8++++----
Mpython/requirements.txt | 4++--
Mpython/setup.cfg | 2+-
4 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/python/CHANGELOG b/python/CHANGELOG @@ -1,3 +1,7 @@ +- 0.4.0 + * Upgrade chainlib +- 0.3.0 + * Use -a and -e flag combination for consistency - 0.2.5 * Remove proof array idx overwrite when adding multiple proofs to subject - 0.1.2 diff --git a/python/eth_address_declarator/runnable/view.py b/python/eth_address_declarator/runnable/view.py @@ -32,14 +32,12 @@ logg = logging.getLogger() #argparser.add_argument('--resolve', action='store_true', help='Attempt to resolve the hashes to actual content') #argparser.add_argument('--resolve-http', dest='resolve_http', type=str, help='Base url to look up content hashes') -arg_flags = chainlib.eth.cli.argflag_std_read | chainlib.eth.cli.Flag.EXEC -argparser = chainlib.eth.cli.ArgumentParser(arg_flags) -argparser.add_argument('--declarator-address', required=True, type=str, help='Declarator of address') +arg_flags = chainlib.eth.cli.argflag_std_read | chainlib.eth.cli.Flag.EXEC | chainlib.eth.cli.Flag.WALLET +argparser = chainlib.eth.cli.ArgumentParser(arg_flags, arg_long={'-a': '--declarator-address'}) argparser.add_positional('address', type=str, help='Ethereum declaration address to look up') args = argparser.parse_args() extra_args = { - 'declarator_address': None, 'address': None, } config = chainlib.eth.cli.Config.from_args(args, arg_flags, extra_args=extra_args, default_fee_limit=AddressDeclarator.gas()) @@ -52,6 +50,8 @@ conn = rpc.connect_by_config(config) chain_spec = ChainSpec.from_chain_str(config.get('CHAIN_SPEC')) +declarator_address = config.get('_WALLET_ADDRESS') + def out_element(e, w=sys.stdout): w.write(e[1] + '\n') diff --git a/python/requirements.txt b/python/requirements.txt @@ -1,2 +1,2 @@ -confini~=0.5.2 -chainlib-eth~=0.0.22 +confini~=0.6.0 +chainlib-eth>=0.1.0b1,<0.2.0 diff --git a/python/setup.cfg b/python/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = eth-address-index -version = 0.2.5 +version = 0.5.0 description = Signed metadata declarations for ethereum addresses author = Louis Holbrook author_email = dev@holbrook.no