Add transfer, mint

This commit is contained in:
nolash 2021-02-02 16:10:53 +01:00
parent 1a2b3bab37
commit 68a7e3e1db
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -141,6 +141,7 @@ class Test(unittest.TestCase):
tx_hash = self.contract.functions.transfer(self.w3.eth.accounts[2], 500000).transact({'from': self.w3.eth.accounts[1]})
r = self.w3.eth.getTransactionReceipt(tx_hash)
logg.debug('r {}'.format(r))
self.assertEqual(r.status, 1)
balance_alice = self.contract.functions.balanceOf(self.w3.eth.accounts[1]).call()