Update module names in verify, balance import
This commit is contained in:
		
							parent
							
								
									fcfb89e1e4
								
							
						
					
					
						commit
						6764d6dd4b
					
				@ -27,7 +27,6 @@ from chainlib.eth.block import (
 | 
			
		||||
        )
 | 
			
		||||
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
 | 
			
		||||
@ -37,6 +36,7 @@ from chainlib.chain import ChainSpec
 | 
			
		||||
from crypto_dev_signer.eth.signer import ReferenceSigner as EIP155Signer
 | 
			
		||||
from crypto_dev_signer.keystore.dict import DictKeystore
 | 
			
		||||
from cic_types.models.person import Person
 | 
			
		||||
from eth_erc20 import ERC20
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
logging.basicConfig(level=logging.WARNING)
 | 
			
		||||
 | 
			
		||||
@ -27,7 +27,6 @@ from chainlib.eth.block import (
 | 
			
		||||
        )
 | 
			
		||||
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
 | 
			
		||||
@ -37,6 +36,7 @@ from chainlib.chain import ChainSpec
 | 
			
		||||
from crypto_dev_signer.eth.signer import ReferenceSigner as EIP155Signer
 | 
			
		||||
from crypto_dev_signer.keystore.dict import DictKeystore
 | 
			
		||||
from cic_types.models.person import Person
 | 
			
		||||
from eth_erc20 import ERC20
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
logging.basicConfig(level=logging.WARNING)
 | 
			
		||||
 | 
			
		||||
@ -34,7 +34,6 @@ from chainlib.eth.block import (
 | 
			
		||||
        )
 | 
			
		||||
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,
 | 
			
		||||
        balance,
 | 
			
		||||
@ -46,7 +45,8 @@ from cic_types.models.person import (
 | 
			
		||||
        Person,
 | 
			
		||||
        generate_metadata_pointer,
 | 
			
		||||
        )
 | 
			
		||||
from erc20_single_shot_faucet import SingleShotFaucet
 | 
			
		||||
from erc20_faucet import Faucet
 | 
			
		||||
from eth_erc20 import ERC20
 | 
			
		||||
 | 
			
		||||
logging.basicConfig(level=logging.WARNING)
 | 
			
		||||
logg = logging.getLogger()
 | 
			
		||||
@ -224,7 +224,7 @@ class Verifier:
 | 
			
		||||
        self.api = cic_eth_api
 | 
			
		||||
        self.data_dir = data_dir
 | 
			
		||||
        self.exit_on_error = exit_on_error
 | 
			
		||||
        self.faucet_tx_factory = SingleShotFaucet(chain_spec, gas_oracle=gas_oracle)
 | 
			
		||||
        self.faucet_tx_factory = Faucet(chain_spec, gas_oracle=gas_oracle)
 | 
			
		||||
 | 
			
		||||
        verifymethods = []
 | 
			
		||||
        for k in dir(self):
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user