From 254f2a266b060827cf975c96b0ae2b0b0671f5d7 Mon Sep 17 00:00:00 2001 From: Louis Holbrook Date: Fri, 16 Apr 2021 21:44:14 +0000 Subject: [PATCH] Correct chainlib import paths --- apps/contract-migration/scripts/cic_eth/import_balance.py | 4 ++-- apps/contract-migration/scripts/eth/import_balance.py | 4 ++-- apps/contract-migration/scripts/verify.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/contract-migration/scripts/cic_eth/import_balance.py b/apps/contract-migration/scripts/cic_eth/import_balance.py index 6a8f618..bad1d2b 100644 --- a/apps/contract-migration/scripts/cic_eth/import_balance.py +++ b/apps/contract-migration/scripts/cic_eth/import_balance.py @@ -25,13 +25,13 @@ from chainlib.eth.block import ( block_by_number, Block, ) -from chainlib.eth.hash import keccak256_string_to_hex +from chainlib.hash import keccak256_string_to_hex from chainlib.eth.address import to_checksum_address from chainlib.eth.erc20 import ERC20 from chainlib.eth.gas import OverrideGasOracle from chainlib.eth.nonce import RPCNonceOracle from chainlib.eth.tx import TxFactory -from chainlib.eth.rpc import jsonrpc_template +from chainlib.jsonrpc import jsonrpc_template from chainlib.eth.error import EthException from chainlib.chain import ChainSpec from crypto_dev_signer.eth.signer import ReferenceSigner as EIP155Signer diff --git a/apps/contract-migration/scripts/eth/import_balance.py b/apps/contract-migration/scripts/eth/import_balance.py index 6a8f618..bad1d2b 100644 --- a/apps/contract-migration/scripts/eth/import_balance.py +++ b/apps/contract-migration/scripts/eth/import_balance.py @@ -25,13 +25,13 @@ from chainlib.eth.block import ( block_by_number, Block, ) -from chainlib.eth.hash import keccak256_string_to_hex +from chainlib.hash import keccak256_string_to_hex from chainlib.eth.address import to_checksum_address from chainlib.eth.erc20 import ERC20 from chainlib.eth.gas import OverrideGasOracle from chainlib.eth.nonce import RPCNonceOracle from chainlib.eth.tx import TxFactory -from chainlib.eth.rpc import jsonrpc_template +from chainlib.jsonrpc import jsonrpc_template from chainlib.eth.error import EthException from chainlib.chain import ChainSpec from crypto_dev_signer.eth.signer import ReferenceSigner as EIP155Signer diff --git a/apps/contract-migration/scripts/verify.py b/apps/contract-migration/scripts/verify.py index 14272dd..bb22a4b 100644 --- a/apps/contract-migration/scripts/verify.py +++ b/apps/contract-migration/scripts/verify.py @@ -32,7 +32,7 @@ from chainlib.eth.block import ( block_by_number, Block, ) -from chainlib.eth.hash import keccak256_string_to_hex +from chainlib.hash import keccak256_string_to_hex from chainlib.eth.address import to_checksum_address from chainlib.eth.erc20 import ERC20 from chainlib.eth.gas import ( @@ -40,7 +40,7 @@ from chainlib.eth.gas import ( balance, ) from chainlib.eth.tx import TxFactory -from chainlib.eth.rpc import jsonrpc_template +from chainlib.jsonrpc import jsonrpc_template from chainlib.eth.error import EthException from cic_types.models.person import ( Person,