What version on kovan?

Wondering what version of Parity you’re running on Kovan? Has it changed lately?

I have code that depends on getting the return value of a revert string, which has recently stopped working

Hi @ana0, welcome to the community! Could you send over the API method you’re using and the error response you’re receiving?

Yep, I’m calling a contract method and receiving the string “VM execution error.”

let revertString = await contract.methods.methodName(args).call({ from: address });

What I expect to receive is the specific revert string I throw from solidity. This thread describes what I’m seeing https://github.com/web3j/web3j/issues/966

:wave: When did it last work for you?

We certainly updated our Parity Kovan nodes last October for the Istanbul fork.

Hi @shazow!

We’ve been seeing this for at least three weeks. Pretty sure it was working consistently mid-Nov, but our reporting has gotten a lot better since then. Possible it was happening sometimes back then too.

Looks like parity merged something related to revert in Sept https://github.com/paritytech/parity-ethereum/issues/8068

Hey @ana0 would you be able to share more of your code with us, we looked into both those issues and are not clear on how this was working before.

To be honest, I’m not sure how it was working before either, if nothing has changed on your end in the last few months. I’ll have to dig more. Anyway, thanks for confirming

We’re using a fork of the gnosis safe, but when I link it I get a forum error (you cannot post a link to that host), the method is requiredTxGas

Thanks, keep us updated, happy to help you dig further if we can.

@ana0 If it’s not too hard to reproduce, could you give it one more try to see if anything changed? We made some minor changes that hopefully weren’t responsible for this but just in case.

Or if you can provide a stand-alone way for me to reproduce it on my end, that’d be great too. :slight_smile: