Correct local import names

This commit is contained in:
nolash
2021-03-24 09:14:18 +01:00
parent 9d583d416b
commit 8b2fe72232
4 changed files with 6 additions and 6 deletions

View File

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

View File

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