GayuUser
GayuUser
When I tried running with the new contract(CPUheavy), there is error (Error: VM Exception while processing transaction: invalid opcode) for some integer values. eg:- for 4,5,10
contract Sorter { event finish(uint size, uint signature); function sort(uint size, uint signature) { uint[] memory data = new uint[](size); for (uint x = 0; x < data.length; x++) {...
Why is event used to calculate the time taken for sorting ,is there any specific reason behind using event? When running deploy.js the event is listened twice, why it is...