Closed shingonu closed 6 years ago
Something that needs to be changed in order for the KYC contract test to be successful.
KYC
.deployed()
new()
'revert'
'invalid opcode'
yes. tokyo-reusable-crowdsale must have only building contracts, not the tokyo-generated contracts.
tokyo-reusable-crowdsale
"revert" and "invalid opcode" should be distinguished. zeppelin's revert, throw
Something that needs to be changed in order for the
KYC
contract test to be successful..deployed()
->new()
https://github.com/Onther-Tech/tokyo/blob/26238729d0c662828b537ebce82f9c40c6ab2819/packages/tokyo-reusable-crowdsale/test/KYC.js#L28'revert'
-> export default'invalid opcode'
https://github.com/Onther-Tech/tokyo/blob/26238729d0c662828b537ebce82f9c40c6ab2819/packages/tokyo-reusable-crowdsale/test/helpers/EVMThrow.js#L1