-
Notifications
You must be signed in to change notification settings - Fork 683
Conversation
Guys, I'm using the package @openzeppelin/test-helpers in my unit tests, where I have oracles like this:
Sorry if I misunderstand. It's because when I run run the above test on Ganache v2.5.4 it works/passes, but after upgrading to v7.0.1 it's failing: `
|
@fabianorodrigo Have you updated your truffle version to the latest version? |
hi @fabianorodrigo, you'll need to update to the latest version of truffle |
@cds-amal , |
Before this change, errors from
eth_call
were formatted in our "non-standard"vmErrorsOnRPCResponse
format, which uses the error'sdata
property to store some extra helpful information (program counter, hash, etc.):Now, the error's
data
property only contains the raw revert hex string, which should more closely match real node's error handling:Our hope is that this will allow users to remove any conditionals handling errors differently between Ganache and real Ethereum nodes.