-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does any one know why come out of this error, please? #2595
Comments
See #2542 for discussion |
Got fixed by @SwissArmyBud and will be released asap. |
no, please don't close, I update 1.0.0-beta.51, and now every test with this happen:
|
I push a simple project here, you can test it, thank you very much!
|
This is what I want to say too, mocha need a resolved result, but web3's return is not resolve. It work on 1.0.0-beta.48. |
Simple contract, but got this issue
Transaction has been reverted by the EVM
Actual Results
Hi, everyone! I create a very simple contract as follow:
then I use "truffle compile", "truffle migrate", after that, I wrote a test file as follow:
I run "mocha test", then got this
Error: Transaction has been reverted by the EVM:
{
"transactionHash": "0x6a21a921326725709e1d1cd549b862e9abc5faf691886d5c6d9081b89a2e9ff2",
"transactionIndex": 0,
"blockHash": "0x8ee0d6f54d2ea010d782400fa348e8b253e66a2f4ed54e04f36d992d326c5662",
"blockNumber": 6,
"from": "0x99aa63cceea343c81ccff19e9366a67a5d3635cc",
"to": "0x059f708fffb51719074349a172838285bf1c33bf",
"gasUsed": 21772,
"cumulativeGasUsed": 21772,
"contractAddress": null,
"logs": [],
"status": true,
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"v": "0x1b",
"r": "0xda47199fde41e787bffb63ef1ab2275362914ccb673aac1333911f4f6f30997e",
"s": "0x38faafb77a25155c758d7c3fc998b8c9486c83136ef8dbd445c1be4996041dfc"
}
Environment
truffle version
): 4.1.15node --version
): 8.14npm --version
): 6.5.0The text was updated successfully, but these errors were encountered: