This is going to be short question and may be silly, but I'm literally stuck with a problem, where I need to pass
address(0) to function in Truffle Test in JS and don't really know how to do it. In solidity it's simply
address(0), but in Truffle JS?
You can simply use
address(0) in Solidity is equivalent to
You must put single quotes around it. '0x0000000000000000000000000000000000000000' worked for me Been hunting down that bug for some time ...