eipw icon indicating copy to clipboard operation
eipw copied to clipboard

Error if referenced EIPs are not included in requires preamble header

Open Pandapip1 opened this issue 3 years ago • 3 comments

From https://github.com/ethereum/EIP-Bot/issues/69

Pandapip1 avatar Jul 31 '22 12:07 Pandapip1

I believe this is already added.

Pandapip1 avatar Feb 26 '23 19:02 Pandapip1

We never decided if we wanted to implement this. I'm happy to close if you've changed your mind though!

I still believe that a reference does not necessarily imply a "requires" dependency, though maybe we could do a warn-level lint to the effect of:

warning[markdown-requires]: `EIP-1234` mentioned without being included in `requires` preamble field
 --> input.md:50:8
   |
50 | banana [EIP-1234](./eip-1234.md)
   |        ^^^^^^^^^^^^^^^^^^^^^^^^^ mentioned here
   |
  = help: Unless necessary for understanding or implementation, mentioning another proposal can slow standardization.

SamWilsn avatar Feb 27 '23 20:02 SamWilsn

Oh, I thought you mean referenced in specification/title/description. Those are already implemented.

I would appreciate a warning, though!

Pandapip1 avatar Feb 27 '23 20:02 Pandapip1