mirror of
git://holbrook.no/eth-address-index
synced 2024-12-02 12:36:49 +01:00
Upgrade deps
This commit is contained in:
parent
92e826d559
commit
af63615eeb
@ -1,3 +1,7 @@
|
|||||||
|
- 0.4.0
|
||||||
|
* Upgrade chainlib
|
||||||
|
- 0.3.0
|
||||||
|
* Use -a and -e flag combination for consistency
|
||||||
- 0.2.5
|
- 0.2.5
|
||||||
* Remove proof array idx overwrite when adding multiple proofs to subject
|
* Remove proof array idx overwrite when adding multiple proofs to subject
|
||||||
- 0.1.2
|
- 0.1.2
|
||||||
|
@ -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', 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')
|
#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
|
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)
|
argparser = chainlib.eth.cli.ArgumentParser(arg_flags, arg_long={'-a': '--declarator-address'})
|
||||||
argparser.add_argument('--declarator-address', required=True, type=str, help='Declarator of address')
|
|
||||||
argparser.add_positional('address', type=str, help='Ethereum declaration address to look up')
|
argparser.add_positional('address', type=str, help='Ethereum declaration address to look up')
|
||||||
args = argparser.parse_args()
|
args = argparser.parse_args()
|
||||||
|
|
||||||
extra_args = {
|
extra_args = {
|
||||||
'declarator_address': None,
|
|
||||||
'address': None,
|
'address': None,
|
||||||
}
|
}
|
||||||
config = chainlib.eth.cli.Config.from_args(args, arg_flags, extra_args=extra_args, default_fee_limit=AddressDeclarator.gas())
|
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'))
|
chain_spec = ChainSpec.from_chain_str(config.get('CHAIN_SPEC'))
|
||||||
|
|
||||||
|
declarator_address = config.get('_WALLET_ADDRESS')
|
||||||
|
|
||||||
|
|
||||||
def out_element(e, w=sys.stdout):
|
def out_element(e, w=sys.stdout):
|
||||||
w.write(e[1] + '\n')
|
w.write(e[1] + '\n')
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
confini~=0.5.2
|
confini~=0.6.0
|
||||||
chainlib-eth~=0.0.22
|
chainlib-eth>=0.1.0b1,<0.2.0
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = eth-address-index
|
name = eth-address-index
|
||||||
version = 0.2.5
|
version = 0.5.0
|
||||||
description = Signed metadata declarations for ethereum addresses
|
description = Signed metadata declarations for ethereum addresses
|
||||||
author = Louis Holbrook
|
author = Louis Holbrook
|
||||||
author_email = dev@holbrook.no
|
author_email = dev@holbrook.no
|
||||||
|
Loading…
Reference in New Issue
Block a user