From 2ea563e78e81ae047a4f49c381351acd0013ad24 Mon Sep 17 00:00:00 2001 From: Sam Wilson <57262657+SamWilsn@users.noreply.github.com> Date: Wed, 5 Apr 2023 10:22:59 -0400 Subject: [PATCH] Update eip-1.md --- EIPS/eip-1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/EIPS/eip-1.md b/EIPS/eip-1.md index 1bc9cec7211394..6d9bab78c88ef0 100644 --- a/EIPS/eip-1.md +++ b/EIPS/eip-1.md @@ -216,6 +216,24 @@ Permitted Consensus Layer Specifications URLs must anchor to a specific commit, ^https://github.com/ethereum/consensus-specs/blob/[0-9a-f]{40}/.*$ ``` +### 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/1016c0603062b76388e3c3c19786cd5f9ca9ac61/paper.pdf) +``` + +Which renders to: + +[Ethereum Yellow Paper](https://github.com/ethereum/yellowpaper/blob/1016c0603062b76388e3c3c19786cd5f9ca9ac61/paper.pdf) + +Permitted Ethereum 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}/.*|https://github.com/ethereum/yellowpaper/tree/[0-9a-f]{40}/.*)$ +``` + ### Networking Specifications Links to specific commits of files within the Ethereum Networking Specifications may be included using normal markdown syntax, such as: