Open joaquim-verges opened 2 weeks ago
Works fine with receive(), but fallback() throws an error. See steps to reproduce below.
receive()
fallback()
No response
const abi = formatAbi([ { stateMutability: "payable", type: "fallback", inputs: [], outputs: [], }, ]); const abi2 = parseAbi(abi); // throws // UnknownSignatureError: Unknown signature. // Details: fallback() // Version: abitype@1.0.5
1.0.5
5.0.4
This was changed in #229 but the format function change wasn't made to accommodate to those changes. See here.
You can create a PR with these changes if you want.
Describe the bug
Works fine with
receive()
, butfallback()
throws an error. See steps to reproduce below.Link to Minimal Reproducible Example
No response
Steps To Reproduce
Package Version
1.0.5
TypeScript Version
5.0.4
Check existing issues
Anything else?
No response