ccip-read
ccip-read copied to clipboard
Function overload throwing excpetion
I have the following ABI which contains a function overload based on different arguments. when I call server.add it causes the ethers v5 to throw an error because it has found more than 1 function with the same selector.
[
'function setAddr(bytes32 node, address addr) returns (address)',
'function setAddr(bytes32 node, uint coinType, bytes calldata addr) returns (string)'
]
ethers v5 source code responsible for throwing the error.