Add minter and burner python interface and test code

This commit is contained in:
lash
2023-06-06 15:27:41 +01:00
parent 220b8afbeb
commit ef3ee7caf0
20 changed files with 354 additions and 9 deletions

View File

@@ -13,9 +13,6 @@ from chainlib.eth.tx import TxFormat
from chainlib.eth.contract import ABIContractEncoder
from chainlib.eth.contract import ABIContractType
# local imports
from eth_capped import EthCapped
script_dir = os.path.dirname(os.path.realpath(__file__))
contract_dir = os.path.join(script_dir, '..', '..', 'solidity')
@@ -27,8 +24,6 @@ class TestEthExpire(EthTesterCase):
def setUp(self):
super(TestEthExpire, self).setUp()
self.set_method = None
self.conn = RPCConnection.connect(self.chain_spec, 'default')
nonce_oracle = RPCNonceOracle(self.accounts[0], self.conn)