Upgrade deps

This commit is contained in:
lash 2022-04-20 21:23:35 +00:00
parent 92e826d559
commit af63615eeb
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
4 changed files with 11 additions and 7 deletions

View File

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

View File

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

View File

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

View File

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