Implement cic-contracts unittest hardness, implement tests for capped, writer
This commit is contained in:
parent
7c6493357d
commit
682fa9ee5f
@ -19,6 +19,10 @@ class TestCappedToken(EthTesterCase):
|
||||
|
||||
def setUp(self):
|
||||
super(TestCappedToken, self).setUp()
|
||||
self.publish()
|
||||
|
||||
|
||||
def publish(self):
|
||||
self.conn = RPCConnection.connect(self.chain_spec, 'default')
|
||||
nonce_oracle = RPCNonceOracle(self.accounts[0], conn=self.conn)
|
||||
c = CappedToken(self.chain_spec, signer=self.signer, nonce_oracle=nonce_oracle)
|
||||
|
@ -1,3 +1,4 @@
|
||||
eth_tester==0.5.0b3
|
||||
py-evm==0.3.0a20
|
||||
pytest==6.0.1
|
||||
cic-contracts~=0.3.3
|
||||
|
@ -181,7 +181,6 @@ contract CappedToken {
|
||||
return 2;
|
||||
}
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
// Implements ERC20
|
||||
|
Loading…
Reference in New Issue
Block a user