I recently upgraded Web3JS and Solc. Now every time I pass a zero address to a Solidity contact method the transaction reverts with an "invalid address" message. This message appears to be coming directly from the EVM since I don't have that message in any of my revert error strings. The error message includes the name of the parameter that the EVM thinks is invalid so I'm sure it's from the EVM (_bandAddr). This is from the method:
function payBand(address payable _bandAddr)
You can see that parameter in the error message:
invalid address (arg=\"_bandAddr\", coderType=\"address\", value=0)
I have tried passing "0" and "0x0" and still get that error. Has anybody else seen this and has a fix for it? Before upgrading I could simply pass "0" and would not get that error.
Ganache CLI v6.2.3 using Ganache Core 2.3.1 Truffle 5.x beta Web3 v126.96.36.199-beta.37 Solc v0.5.0