Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Greeter
greet
Deploying a Greeter with greeting: Hello from greeter!
✓ should return the greeting (42ms)
getBlockNumber
Deploying a Greeter with greeting: Hello from greeter!
✓ should sum up the number
ChildGreeter
getBlockNumber
1) should sum up the number
2 passing (519ms)
1 failing
1) ChildGreeter
getBlockNumber
should sum up the number:
Error: call exception (address="0xf784709d2317D872237C4bC22f867d1BAe2913AB", method="sum(uint256,uint256)", args=[{"_hex":"0x0a"},{"_hex":"0x14"}], version=4.0.47)
at Object.throwError (node_modules/ethers/errors.js:76:17)
at /Users/paulrberg/Workspace/Pad/ethers-call-exception/node_modules/ethers/contract.js:182:36
at processTicksAndRejections (internal/process/task_queues.js:97:5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.