diff --git a/EIPS/eip-1.md b/EIPS/eip-1.md index 94ec4543078b3..4a5916d9e7c06 100644 --- a/EIPS/eip-1.md +++ b/EIPS/eip-1.md @@ -338,6 +338,24 @@ Which renders to: [CVE-2023-29638 (2023-10-17T10:14:15)](https://nvd.nist.gov/vuln/detail/CVE-2023-29638) +### Chain Agnostic Improvement Proposals (CAIPs) + +Links to a Chain Agnostic Improvement Proposals (CAIPs) specification may be included using normal markdown syntax, such as: + +```markdown +[CAIP 10](https://github.com/ChainAgnostic/CAIPs/blob/5dd3a2f541d399a82bb32590b52ca4340b09f08b/CAIPs/caip-10.md) +``` + +Which renders to: + +[CAIP 10](https://github.com/ChainAgnostic/CAIPs/blob/5dd3a2f541d399a82bb32590b52ca4340b09f08b/CAIPs/caip-10.md) + +Permitted Chain Agnostic URLs must anchor to a specific commit, and so must match this regular expression: + +```regex +^(https://github.com/ChainAgnostic/CAIPs/blob/[0-9a-f]{40}/CAIPs/caip-[0-9]+\.md)$ +``` + ### Ethereum Yellow Paper Links to the Ethereum Yellow Paper may be included using normal markdown syntax, such as: diff --git a/config/eipw.toml b/config/eipw.toml index 27fd0344334a9..c856345304438 100644 --- a/config/eipw.toml +++ b/config/eipw.toml @@ -151,6 +151,8 @@ exceptions = [ '^https://(www\.)?github\.com/ethereum/devp2p/(blob|tree)/[0-9a-f]{40}/.+$', '^https://(www\.)?github\.com/ethereum/devp2p/commit/[0-9a-f]{40}$', '^https://(www\.)?github\.com/bitcoin/bips/(blob|tree)/[0-9a-f]{40}/bip-[0-9]+\.mediawiki$', + '^https://(www\.)?github\.com/ChainAgnostic/CAIPs/(blob|tree)/[a-f0-9]{40}/.+$', + '^https://(www\.)?github\.com/ChainAgnostic/CAIPs/commit/[0-9a-f]{40}$', '^https://www\.w3\.org/TR/[0-9][0-9][0-9][0-9]/.*$', '^https://[a-z]*\.spec\.whatwg\.org/commit-snapshots/[0-9a-f]{40}/$', '^https://www\.rfc-editor\.org/rfc/.*$',