truffle-core icon indicating copy to clipboard operation
truffle-core copied to clipboard

Fix solidity testing on private chain

Open AtkinsChang opened this issue 7 years ago • 1 comments

Fix critical testing problem on private chain: solidity testing will success even if there is an error occurs.

According to EIP658, if the transaction success, the transaction receipt will contains status with value 0x1, and revert is 0x0.

AtkinsChang avatar Nov 21 '17 15:11 AtkinsChang

@gnidan: I think this issue is critical that test result is not correct on real eth-chain

AtkinsChang avatar Nov 21 '17 17:11 AtkinsChang