-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Update EIP-1: Clarify when to use requires
#5614
Conversation
requires
requires
Personally, I wouldn't explicitly mention a section at all, but I do see the benefit of a hard-and-fast rule. I think I prefer @Pandapip1's edit over @xinbenlv's because the crux of the decision isn't where the reference occurs, but why you're referencing it. For example, if an EIP uses |
I agree 100% of what you say: what we really care is the dependency between EIPs. but I have to admit it's a bit hard to judge, sometimes also subjective. For example, EIP-155 introduces ChainID, which https://eips.ethereum.org/EIPS/eip-2718 depends on. But 2718 didn't list 155 as required. Also ChainId is needed for many hard-fork meta EIPs, but they don't necessarily consider 155 as a dependency, because we take chainId for granted nowadays. This principle of "dependency" makes it harder to judge. Therefore that's why I slightly tweak the wording so that if author feel it's necessary for spec to reference that EIP, they will put it in requires, otherwise no mandate. |
I don't see chainid mentioned in the specification? |
https://eips.ethereum.org/EIPS/eip-2718 Specification > Receipts
In which |
For Core stuff it's really difficult to track things back to their original EIP once they are into the protocol. And once they are into the Yellow Paper I think they can pretty much be taken for granted. The Requires section seems essential mostly for the other, related EIPs that are also still in-process. For ERCs that's not quite so hard a problem - the ERC really is the controlling technical document, and they don't tend to keep building on top of each other as much as Core EIPs do. |
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.
This wording seems to me in good state to merge, are we waiting for anything else before merge it? @SamWilsn
As discussed in EIPIP Meeting #64, here's a PR with my proposal for updating the
requires
text.