contract-registry

Ethereum Smart Contract key-value registry
Log | Files | Refs

commit 8b2fe722320bfe9962eae93aa183ef4339858056
parent 9d583d416b417d3b0d45b3ae7f293128b9cc3770
Author: nolash <dev@holbrook.no>
Date:   Wed, 24 Mar 2021 09:14:18 +0100

Correct local import names

Diffstat:
Mpython/eth_contract_registry/runnable/deploy.py | 6+++---
Mpython/eth_contract_registry/runnable/set.py | 2+-
Mpython/gmon.out | 0
Mpython/requirements.txt | 4++--
4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/python/eth_contract_registry/runnable/deploy.py b/python/eth_contract_registry/runnable/deploy.py @@ -12,7 +12,7 @@ import json import argparse import logging -# third-party imports +# external imports from crypto_dev_signer.eth.signer import ReferenceSigner as EIP155Signer from crypto_dev_signer.keystore.dict import DictKeystore from crypto_dev_signer.eth.helper import EthTxExecutor @@ -23,7 +23,7 @@ from chainlib.eth.connection import EthHTTPConnection from chainlib.eth.tx import receipt # local imports -from contract_registry import Registry +from eth_contract_registry import Registry logging.basicConfig(level=logging.WARNING) logg = logging.getLogger() @@ -39,7 +39,7 @@ argparser.add_argument('-i', '--chain-spec', dest='i', type=str, default='Ethere argparser.add_argument('-y', '--key-file', dest='y', type=str, help='Ethereum keystore file to use for signing') argparser.add_argument('-v', action='store_true', help='Be verbose') argparser.add_argument('-vv', action='store_true', help='Be more verbose') -argparser.add_argument('--identifier', type=str, action='append', help='Add contract identifier') +argparser.add_argument('--identifier', type=str, action='append', default=[], help='Add contract identifier') argparser.add_argument('--env-prefix', default=os.environ.get('CONFINI_ENV_PREFIX'), dest='env_prefix', type=str, help='environment prefix for variables to overwrite configuration') args = argparser.parse_args() diff --git a/python/eth_contract_registry/runnable/set.py b/python/eth_contract_registry/runnable/set.py @@ -24,7 +24,7 @@ from chainlib.eth.tx import receipt from chainlib.eth.constant import ZERO_CONTENT # local imports -from contract_registry import Registry +from eth_contract_registry import Registry logging.basicConfig(level=logging.WARNING) logg = logging.getLogger() diff --git a/python/gmon.out b/python/gmon.out Binary files differ. diff --git a/python/requirements.txt b/python/requirements.txt @@ -1,3 +1,3 @@ confini~=0.3.6rc3 -crypto-dev-signer~=0.4.14a4 -chainlib~=0.0.1a28 +crypto-dev-signer~=0.4.14a5 +chainlib~=0.0.1a29