Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contract instantiation fails with 'type' not specify in a fragment of an abi definition #36

Open
notsegfault opened this issue Apr 14, 2022 · 1 comment

Comments

@notsegfault
Copy link

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.

@notsegfault
Copy link
Author

similar issue with an abi definition of
stateMutability: 'payable', type: 'receive' },

as toFragment will return null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant