-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
Add an interface folder that lists common interfaces #2517
Conversation
Since this is not a breaking change we will discuss this after 4.0 or at least after we've finished work on the breaking changes. |
3430cf2
to
9a225ab
Compare
9a225ab
to
1dc0141
Compare
What should we do with the interface we have elsewhere? Should we deduplicate them? |
We just cannot move them for obvious backward compatibility reasons. Yet, I think they should be in here. So my approach has been to link them using Any preference/opinion ? |
Oh sorry I missed that there were Well what are we going to do for future ERCs we implement? Are we going to add two different files for each new ERC interface? It seems like we should instead add all new interfaces in the interfaces directory, and import them from there. |
Yes. This is what I did for ERC1271 in signaturechecker |
So given that any future interfaces are going to be added in the interfaces directory, I would move the current interfaces over there for consistency, and place imports in the current locations for backwards compatibility. |
@Amxx Please see my comment above. |
…tracts into feature/interfaces
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.
LGTM!
Includes:
Eventually, all of https://eips.ethereum.org/erc should be considered
PR Checklist