Update pyevm backend subclass, use URI for provider connection

pull/387/head
Kieran Prasch 2018-08-18 16:24:13 -07:00 committed by Kieran R. Prasch
parent 6b1d887459
commit 48e151a8bf
2 changed files with 3 additions and 6 deletions

View File

@ -1,22 +1,20 @@
from typing import Tuple, Union
from urllib.parse import urlparse
from constant_sorrow import constants
from eth import constants as pyevm_constants
from eth_keys.datatypes import PublicKey, Signature
from eth_tester import EthereumTester
from eth_utils import to_canonical_address
from typing import Tuple, Union
from web3 import Web3, WebsocketProvider, HTTPProvider, IPCProvider
from web3.contract import Contract
from web3.providers.eth_tester.main import EthereumTesterProvider
from eth_tester import EthereumTester
from eth_tester import PyEVMBackend
from nucypher.blockchain.eth.registry import EthereumContractRegistry
from nucypher.blockchain.eth.sol.compile import SolidityCompiler
from nucypher.config.constants import DEFAULT_INI_FILEPATH
from nucypher.config.parsers import parse_blockchain_config
from eth_tester import PyEVMBackend
class BlockchainInterface:
"""

View File

@ -21,7 +21,6 @@ from nucypher.blockchain.eth.chains import TesterBlockchain
from nucypher.blockchain.eth.deployers import NucypherTokenDeployer, MinerEscrowDeployer, PolicyManagerDeployer
from nucypher.blockchain.eth.interfaces import BlockchainDeployerInterface
from nucypher.blockchain.eth.sol.compile import SolidityCompiler
from nucypher.blockchain.eth.utilities import OverridablePyEVMBackend, TemporaryEthereumContractRegistry
from nucypher.blockchain.eth import sol