Interface and abi generator interface
This commit is contained in:
@@ -12,6 +12,7 @@ from chainlib.eth.tx import TxFormat
|
||||
from chainlib.eth.contract import ABIContractEncoder
|
||||
from chainlib.eth.contract import ABIContractType
|
||||
from cic_contracts.unittest import bytecode
|
||||
from cic_contracts import Name
|
||||
|
||||
logg = logging.getLogger(__name__)
|
||||
|
||||
@@ -26,7 +27,7 @@ class TestEthCapped(EthTesterCase):
|
||||
self.conn = RPCConnection.connect(self.chain_spec, 'default')
|
||||
nonce_oracle = RPCNonceOracle(self.accounts[0], self.conn)
|
||||
|
||||
code = bytecode('capped')
|
||||
code = bytecode(Name.CAPPED)
|
||||
|
||||
txf = TxFactory(self.chain_spec, signer=self.signer, nonce_oracle=nonce_oracle)
|
||||
tx = txf.template(self.accounts[0], None, use_nonce=True)
|
||||
|
||||
Reference in New Issue
Block a user