Interface and abi generator interface

This commit is contained in:
lash
2023-06-09 09:44:03 +01:00
parent 45ca79cf46
commit 64e8df2573
91 changed files with 358 additions and 14 deletions

View File

@@ -13,6 +13,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
# local imports
from eth_minter import EthMinter
@@ -31,7 +32,7 @@ class TestEthMinter(EthTesterCase):
self.conn = RPCConnection.connect(self.chain_spec, 'default')
nonce_oracle = RPCNonceOracle(self.accounts[0], self.conn)
code = bytecode('minter')
code = bytecode(Name.MINTER)
txf = TxFactory(self.chain_spec, signer=self.signer, nonce_oracle=nonce_oracle)
tx = txf.template(self.accounts[0], None, use_nonce=True)