From dc10c8f38844ba5a4e7dfcf0372d9e1a5667027f Mon Sep 17 00:00:00 2001 From: Sam Wilson Date: Fri, 20 Oct 2023 11:32:15 -0400 Subject: [PATCH] Allow links to the yellow paper --- EIPS/eip-1.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/EIPS/eip-1.md b/EIPS/eip-1.md index 4849fed2a926f3..9e72aed5b4aa55 100644 --- a/EIPS/eip-1.md +++ b/EIPS/eip-1.md @@ -338,6 +338,25 @@ Which renders to: [CVE-2023-29638 (2023-10-17T10:14:15)](https://nvd.nist.gov/vuln/detail/CVE-2023-29638) +### Ethereum Yellow Paper + +Links to the Ethereum Yellow Paper may be included using normal markdown syntax, such as: + +```markdown +[Ethereum Yellow Paper](https://github.com/ethereum/yellowpaper/blob/9c601d6a58c44928d4f2b837c0350cec9d9259ed/paper.pdf) +``` + +Which renders to: + +[Ethereum Yellow Paper](https://github.com/ethereum/yellowpaper/blob/9c601d6a58c44928d4f2b837c0350cec9d9259ed/paper.pdf) + +Permitted Yellow Paper URLs must anchor to a specific commit, and so must match this regular expression: + +```regex +^(https://github\.com/ethereum/yellowpaper/blob/[0-9a-f]{40}/paper\.pdf)$ +``` + + ### Digital Object Identifier System Links qualified with a Digital Object Identifier (DOI) may be included using the following syntax: