ccip-read icon indicating copy to clipboard operation
ccip-read copied to clipboard

Function overload throwing excpetion

Open pikonha opened this issue 1 year ago • 0 comments

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.

pikonha avatar Mar 12 '24 11:03 pikonha