-
Notifications
You must be signed in to change notification settings - Fork 9
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
feat: sanitize abi #56
Conversation
src/contracts/LANDRegistry.ts
Outdated
fulfillContractMethods(this, abi) | ||
const sanitizedABI = Abi.sanitize(abi) | ||
super(address, sanitizedABI) | ||
fulfillContractMethods(this, sanitizedABI) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks 🆗 but shouldn't we do this for every contract (on Contract
maybe)? or is it more of a specific case kind of thing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that we should sanitize ABIs when we need it.
I mean, if we don't have this issue with other contracts, we shouldn't sanitize them
7d603b2
to
c64331a
Compare
🎉 This PR is included in version 8.9.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
New version of decentraland-eth needed Depends on decentraland/decentraland-eth#56 and decentraland/decentraland-eth#57 Close #858
Sanitize ABI events with parameters name which conflict with web3 0.X.X