Open notsegfault opened 2 years ago
if the abi contains for example: { payable: true, stateMutability: 'payable', type: 'fallback' },
{ payable: true, stateMutability: 'payable', type: 'fallback' },
the contract instantiation will fail because x.type is undefined.
one can simply remove the abi entry but it would be nice if that would ignore it instead.
similar issue with an abi definition of stateMutability: 'payable', type: 'receive' },
stateMutability: 'payable', type: 'receive' },
as toFragment will return null
if the abi contains for example:
{ payable: true, stateMutability: 'payable', type: 'fallback' },
the contract instantiation will fail because x.type is undefined.
one can simply remove the abi entry but it would be nice if that would ignore it instead.