From 58ab7ca5d86ae1d034515729aaf4739d2a92795a Mon Sep 17 00:00:00 2001 From: Ben Hawkins Date: Fri, 11 Oct 2024 15:17:44 -0600 Subject: [PATCH] update existing SIMDs with their current status (#169) * update existing SIMDs with their current status * add living status to linter * update feature status to be valid yaml * remove brackets as yaml contents arent read in MD * improve error message and fix linting errors * remove last 'draft' status * rebase on main and remove SIMD-0183 draft status * remove stale in favor of existing stagnant status * actually remove status --- .github/linter/customRules.ts | 3 ++- .github/linter/index.ts | 5 ++++- proposals/0007-access-policy.md | 5 +++-- proposals/0009-lockout-violation-detection.md | 2 +- .../0015-partitioned-epoch-reward-distribution.md | 4 ++-- proposals/0022-multi-stake.md | 4 ++-- proposals/0033-timely-vote-credits.md | 7 +++++-- .../0047-syscall-and-sysvar-for-last-restart-slot.md | 6 +++++- proposals/0049-syscall-get-remaining-compute-units.md | 7 +++++-- proposals/0064-transaction-receipt.md | 4 ++-- proposals/0075-precompile-for-secp256r1-sigverify.md | 2 +- .../0079-allow_commission_decrease_at_any_time.md | 7 +++++-- proposals/0083-relax-entry-constraints.md | 5 ++++- proposals/0084-disable-rent-fees-collection.md | 7 +++++-- proposals/0085-additional-fee-collector-constraints.md | 7 +++++-- proposals/0088-enable-core-bpf-programs.md | 2 +- proposals/0089-programify-feature-gate-program.md | 2 +- proposals/0093-disable-bpf-loader-instructions.md | 7 +++++-- .../0096-reward-collected-priority-fee-in-entirety.md | 7 +++++-- proposals/0105-dynamic-reserved-accounts-set.md | 7 +++++-- .../0118-partitioned-epoch-reward-distribution.md | 5 ++++- proposals/0127-get-sysvar-syscall.md | 5 ++++- .../0128-migrate-address-lookup-table-to-core-bpf.md | 2 +- proposals/0129-alt-bn128-simplified-error-code.md | 10 +++++----- proposals/0133-syscall-get-epoch-stake.md | 7 +++++-- proposals/0137-curve25519-error.md | 10 +++++----- proposals/0138-deprecate-legacy-vote-instructions.md | 2 +- proposals/0140-migrate-config-to-core-bpf.md | 7 +++++-- proposals/0148-stake-program-move-instructions.md | 7 +++++-- proposals/0149-migrate-snapshot-epoch-stakes.md | 2 +- proposals/0152-precompiles.md | 9 ++++----- proposals/0153-elgamal-proof-program.md | 8 ++------ proposals/0183-skip-rent-rewrites.md | 2 +- 33 files changed, 111 insertions(+), 65 deletions(-) diff --git a/.github/linter/customRules.ts b/.github/linter/customRules.ts index 97d03d34..765061d2 100644 --- a/.github/linter/customRules.ts +++ b/.github/linter/customRules.ts @@ -124,6 +124,7 @@ const optionalMetadata = [ "supersedes", "superseded-by", "extends", + "development", ] export const metadataSimdIsValid = { @@ -281,13 +282,13 @@ export const metadataStatusIsValid = { const validStatus = [ "Idea", - "Draft", "Review", "Accepted", "Stagnant", "Withdrawn", "Implemented", "Activated", + "Living" ] if (!validStatus.includes(status)) { diff --git a/.github/linter/index.ts b/.github/linter/index.ts index cbd7cc56..14945835 100644 --- a/.github/linter/index.ts +++ b/.github/linter/index.ts @@ -134,7 +134,10 @@ async function main() { errorCount += linted[lint].length } if (errorCount > 0) { - throw new Error(JSON.stringify(linted)) + const lintedErrors = Object.fromEntries( + Object.entries(linted).filter(([key, value]) => !(Array.isArray(value) && value.length === 0)) + ); + throw new Error(JSON.stringify(lintedErrors)) } } diff --git a/proposals/0007-access-policy.md b/proposals/0007-access-policy.md index 5a3af106..4589a4be 100644 --- a/proposals/0007-access-policy.md +++ b/proposals/0007-access-policy.md @@ -3,9 +3,10 @@ simd: '0007' title: SIMD Access Policy authors: - Jacob Creech (Solana Foundation) +- Ben Hawkins (Solana Foundation) category: Meta type: Meta -status: Draft +status: Living created: 2022-12-10 --- @@ -34,7 +35,7 @@ in accordance with Github access policies. ## Motivation -Shamelessly borrowing from [Mozilla's access +Shamelessly borrowing from [Mozilla's access policy](https://www.mozilla.org/en-US/about/governance/policies/commit/access-policy/) : diff --git a/proposals/0009-lockout-violation-detection.md b/proposals/0009-lockout-violation-detection.md index 7eacce1b..7cb8fa37 100644 --- a/proposals/0009-lockout-violation-detection.md +++ b/proposals/0009-lockout-violation-detection.md @@ -7,7 +7,7 @@ authors: - wencoding category: Standard type: Core -status: Draft +status: Accepted created: 2022-12-12 feature: (fill in with feature tracking issues once accepted) --- diff --git a/proposals/0015-partitioned-epoch-reward-distribution.md b/proposals/0015-partitioned-epoch-reward-distribution.md index 985ba9ad..5c28ef72 100644 --- a/proposals/0015-partitioned-epoch-reward-distribution.md +++ b/proposals/0015-partitioned-epoch-reward-distribution.md @@ -5,9 +5,9 @@ authors: - Haoran Yi (Solana Labs) category: Standard type: Core -status: Accepted +status: Withdrawn created: 2023-03-02 -feature: (fill in with feature tracking issues once accepted) +feature: N/A superseded-by: '0118' --- diff --git a/proposals/0022-multi-stake.md b/proposals/0022-multi-stake.md index 95e0f711..b33b5d2b 100644 --- a/proposals/0022-multi-stake.md +++ b/proposals/0022-multi-stake.md @@ -5,9 +5,9 @@ authors: - Jon Cinque (Solana Labs) category: Standard type: Core -status: Draft +status: Accepted created: 2023-01-20 -feature: (fill in with feature tracking issues once accepted) +feature: () --- ## Summary diff --git a/proposals/0033-timely-vote-credits.md b/proposals/0033-timely-vote-credits.md index 4e51ed27..e1a9953c 100644 --- a/proposals/0033-timely-vote-credits.md +++ b/proposals/0033-timely-vote-credits.md @@ -5,9 +5,12 @@ authors: - Bryan Ischo category: Standard type: Core -status: Draft +status: Implemented created: 2023-01-30 -feature: https://github.com/solana-labs/solana/issues/32857 +feature: tvcF6b1TRz353zKuhBjinZkKzjmihXmBAHJdjNYw1sQ(https://github.com/solana-labs/solana/issues/32857) +development: + - Anza - implemented + - Firedancer - implemented --- ## Summary diff --git a/proposals/0047-syscall-and-sysvar-for-last-restart-slot.md b/proposals/0047-syscall-and-sysvar-for-last-restart-slot.md index 8e31f2df..0f94b32b 100644 --- a/proposals/0047-syscall-and-sysvar-for-last-restart-slot.md +++ b/proposals/0047-syscall-and-sysvar-for-last-restart-slot.md @@ -5,8 +5,12 @@ authors: - Godmode Galactus (Mango Markets) category: Standard type: Core -status: Draft +status: Implemented created: 2023-04-15 +feature: HooKD5NC9QNxk25QuzCssB8ecrEzGt6eXEPBUxWp1LaR(https://github.com/solana-labs/solana/issues/32177) +development: + - Anza - implemented in 1.17.0 (https://github.com/solana-labs/solana/pull/31957) + - Firedancer - implemented --- ## Summary diff --git a/proposals/0049-syscall-get-remaining-compute-units.md b/proposals/0049-syscall-get-remaining-compute-units.md index d1b20ad2..dcfe15bc 100644 --- a/proposals/0049-syscall-get-remaining-compute-units.md +++ b/proposals/0049-syscall-get-remaining-compute-units.md @@ -5,9 +5,12 @@ authors: - Christian Kamm category: Standard type: Core -status: Draft +status: Implemented created: 2023-05-17 -feature: (fill in with feature tracking issues once accepted) +feature: 5TuppMutoyzhUSfuYdhgzD47F92GL1g89KpCZQKqedxP (https://github.com/solana-labs/solana/issues/33325) +development: + - Anza - Implemented but held (https://github.com/solana-labs/solana/pull/31640) + - Firedancer - Prioritized --- ## Summary diff --git a/proposals/0064-transaction-receipt.md b/proposals/0064-transaction-receipt.md index a7e781f2..7f1633bb 100644 --- a/proposals/0064-transaction-receipt.md +++ b/proposals/0064-transaction-receipt.md @@ -7,9 +7,9 @@ authors: - Harsh Patel (Tinydancer) category: Standard type: Core -status: Draft +status: Stagnant created: 2023-06-20 -feature: (fill in with feature tracking issues once accepted) +feature: N/A --- ## Summary diff --git a/proposals/0075-precompile-for-secp256r1-sigverify.md b/proposals/0075-precompile-for-secp256r1-sigverify.md index 086b3df0..698a6416 100644 --- a/proposals/0075-precompile-for-secp256r1-sigverify.md +++ b/proposals/0075-precompile-for-secp256r1-sigverify.md @@ -7,7 +7,7 @@ authors: - Dean (Web3 Builders Alliance) category: Standard type: Core -status: Draft +status: Accepted created: 2024-02-27 feature: (fill in with feature tracking issues once accepted) supersedes: "0048" diff --git a/proposals/0079-allow_commission_decrease_at_any_time.md b/proposals/0079-allow_commission_decrease_at_any_time.md index bc277f29..2691aeea 100644 --- a/proposals/0079-allow_commission_decrease_at_any_time.md +++ b/proposals/0079-allow_commission_decrease_at_any_time.md @@ -5,9 +5,12 @@ authors: - Bryan Ischo (bryan@ischo.com) category: Standard type: Core -status: Draft +status: Implemented created: 2023-10-26 -feature: https://github.com/solana-labs/solana/issues/29361 +feature: decoMktMcnmiq6t3u7g5BfgcQu91nKZr6RvMYf9z1Jb (https://github.com/solana-labs/solana/issues/33994) +development: + - Anza - Implemented (https://github.com/solana-labs/solana/pull/33847) + - Firedancer - Implemented --- ## Summary diff --git a/proposals/0083-relax-entry-constraints.md b/proposals/0083-relax-entry-constraints.md index 436fdba4..7766af8d 100644 --- a/proposals/0083-relax-entry-constraints.md +++ b/proposals/0083-relax-entry-constraints.md @@ -7,7 +7,10 @@ category: Standard type: Core status: Accepted created: 2023-11-02 -feature: ENTRYnPAoT5Swwx73YDGzMp3XnNH1kxacyvLosRHza1i +feature: ENTRYnPAoT5Swwx73YDGzMp3XnNH1kxacyvLosRHza1i (https://github.com/anza-xyz/agave/issues/1029) +development: + - Anza - WIP (https://github.com/anza-xyz/agave/issues/1025) + - Firedancer - Implemented --- ## Summary diff --git a/proposals/0084-disable-rent-fees-collection.md b/proposals/0084-disable-rent-fees-collection.md index 0cdd21b4..075dd2bb 100644 --- a/proposals/0084-disable-rent-fees-collection.md +++ b/proposals/0084-disable-rent-fees-collection.md @@ -5,9 +5,12 @@ authors: - Haoran Yi category: Standard type: Core -status: Draft +status: Implemented created: 2023-11-03 -feature: https://github.com/solana-labs/solana/issues/33946 +feature: CJzY83ggJHqPGDq8VisV3U91jDJLuEaALZooBrXtnnLU (https://github.com/solana-labs/solana/issues/33946) +development: + - Anza - Implemented (https://github.com/solana-labs/solana/pull/33945) + - Firedancer - Implemented --- ## Summary diff --git a/proposals/0085-additional-fee-collector-constraints.md b/proposals/0085-additional-fee-collector-constraints.md index 904b1904..42d28f14 100644 --- a/proposals/0085-additional-fee-collector-constraints.md +++ b/proposals/0085-additional-fee-collector-constraints.md @@ -5,9 +5,12 @@ authors: - Justin Starry category: Standard type: Core -status: Draft +status: Activated created: 2023-11-05 -feature: https://github.com/solana-labs/solana/issues/33888 +feature: prpFrMtgNmzaNzkPJg9o753fVvbHKqNrNTm76foJ2wm (https://github.com/solana-labs/solana/issues/33888) +development: + - Anza - Implemented (https://github.com/solana-labs/solana/pull/33887) + - Firedancer - Implemented --- ## Summary diff --git a/proposals/0088-enable-core-bpf-programs.md b/proposals/0088-enable-core-bpf-programs.md index 118ff180..f2845c0e 100644 --- a/proposals/0088-enable-core-bpf-programs.md +++ b/proposals/0088-enable-core-bpf-programs.md @@ -5,7 +5,7 @@ authors: - Joe Caulfield category: Standard type: Core -status: Draft +status: Accepted created: 2023-11-07 feature: (fill in with feature tracking issues once accepted) --- diff --git a/proposals/0089-programify-feature-gate-program.md b/proposals/0089-programify-feature-gate-program.md index 6dbcf457..09516a18 100644 --- a/proposals/0089-programify-feature-gate-program.md +++ b/proposals/0089-programify-feature-gate-program.md @@ -5,7 +5,7 @@ authors: - Joe Caulfield category: Standard type: Core -status: Draft +status: Accepted created: 2023-11-21 feature: (fill in with feature tracking issues once accepted) supersedes: '0077' diff --git a/proposals/0093-disable-bpf-loader-instructions.md b/proposals/0093-disable-bpf-loader-instructions.md index 3d052956..f4d0cdec 100644 --- a/proposals/0093-disable-bpf-loader-instructions.md +++ b/proposals/0093-disable-bpf-loader-instructions.md @@ -5,9 +5,12 @@ authors: - Haoran Yi category: Standard type: Core -status: Draft +status: Activated created: 2023-12-13 -feature: https://github.com/solana-labs/solana/issues/33970 +feature: 7WeS1vfPRgeeoXArLh7879YcB9mgE9ktjPDtajXeWfXn (https://github.com/solana-labs/solana/issues/34424) +development: + - Anza - Implemented (https://github.com/solana-labs/solana/pull/35164) + - Firedancer - Implemented --- ## Summary diff --git a/proposals/0096-reward-collected-priority-fee-in-entirety.md b/proposals/0096-reward-collected-priority-fee-in-entirety.md index 2c7f961f..0994c1e3 100644 --- a/proposals/0096-reward-collected-priority-fee-in-entirety.md +++ b/proposals/0096-reward-collected-priority-fee-in-entirety.md @@ -5,9 +5,12 @@ authors: - Tao Zhu category: Standard type: Core -status: Draft +status: Implemented created: 2023-12-18 -feature: https://github.com/solana-labs/solana/issues/34731 +feature: 3opE3EzAKnUftUDURkzMgwpNgimBAypW1mNDYH4x4Zg7 (https://github.com/solana-labs/solana/issues/34731) +development: + - Anza - Implemented (https://github.com/anza-xyz/agave/pull/583) + - Firedancer - Implemented --- ## Summary diff --git a/proposals/0105-dynamic-reserved-accounts-set.md b/proposals/0105-dynamic-reserved-accounts-set.md index a74799b6..610d0479 100644 --- a/proposals/0105-dynamic-reserved-accounts-set.md +++ b/proposals/0105-dynamic-reserved-accounts-set.md @@ -5,9 +5,12 @@ authors: - Justin Starry category: Standard type: Core -status: Draft +status: Accepted created: 2024-01-17 -feature: https://github.com/solana-labs/solana/issues/34899 +feature: 8U4skmMVnF6k2kMvrWbQuRUT3qQSiTYpSjqmhmgfthZu (https://github.com/solana-labs/solana/issues/34899) +development: + - Anza - Not Started + - Firedancer - Not Started --- ## Summary diff --git a/proposals/0118-partitioned-epoch-reward-distribution.md b/proposals/0118-partitioned-epoch-reward-distribution.md index 0da7f840..ad15487c 100644 --- a/proposals/0118-partitioned-epoch-reward-distribution.md +++ b/proposals/0118-partitioned-epoch-reward-distribution.md @@ -6,8 +6,11 @@ category: Standard type: Core status: Accepted created: 2024-02-16 -feature: 9bn2vTJUsUcnpiZWbu2woSKtTGW3ErZC9ERv88SDqQjK, enable_partitioned_epoch_reward, https://github.com/anza-xyz/agave/issues/426 +feature: 9bn2vTJUsUcnpiZWbu2woSKtTGW3ErZC9ERv88SDqQjK (https://github.com/anza-xyz/agave/issues/426)' supersedes: '0015' +development: + - Anza - Implemented (https://github.com/anza-xyz/agave/pull/427) + - Firedancer - Implemented --- ## Summary diff --git a/proposals/0127-get-sysvar-syscall.md b/proposals/0127-get-sysvar-syscall.md index 5acf428a..3ee8a577 100644 --- a/proposals/0127-get-sysvar-syscall.md +++ b/proposals/0127-get-sysvar-syscall.md @@ -5,9 +5,12 @@ authors: - Joe Caulfield (Anza) category: Standard type: Core -status: Draft +status: Accepted created: 2024-03-15 feature: (fill in with feature tracking issues once accepted) +development: + - Anza - Not Started + - Firedancer - Not started --- ## Summary diff --git a/proposals/0128-migrate-address-lookup-table-to-core-bpf.md b/proposals/0128-migrate-address-lookup-table-to-core-bpf.md index cdf1e011..fe923ce7 100644 --- a/proposals/0128-migrate-address-lookup-table-to-core-bpf.md +++ b/proposals/0128-migrate-address-lookup-table-to-core-bpf.md @@ -5,7 +5,7 @@ authors: - Joe Caulfield - Anza Technology category: Standard type: Core -status: Draft +status: Accepted created: 2024-03-13 feature: (fill in with feature tracking issues once accepted) --- diff --git a/proposals/0129-alt-bn128-simplified-error-code.md b/proposals/0129-alt-bn128-simplified-error-code.md index bdd0bf70..2bbed81c 100644 --- a/proposals/0129-alt-bn128-simplified-error-code.md +++ b/proposals/0129-alt-bn128-simplified-error-code.md @@ -5,12 +5,12 @@ authors: - Emanuele Cesena category: Standard type: Core -status: Draft +status: Activated created: 2024-03-19 -feature: -supersedes: -superseded-by: -extends: +feature: JDn5q3GBeqzvUa7z67BbmVHVdE3EbUAjvFep3weR3jxX (https://github.com/anza-xyz/agave/issues/320) +development: + - Anza - Implemented (https://github.com/anza-xyz/agave/pull/294) + - Firedancer - Implemented --- ## Summary diff --git a/proposals/0133-syscall-get-epoch-stake.md b/proposals/0133-syscall-get-epoch-stake.md index d3f61832..ed523509 100644 --- a/proposals/0133-syscall-get-epoch-stake.md +++ b/proposals/0133-syscall-get-epoch-stake.md @@ -5,9 +5,12 @@ authors: - Joe Caulfield (Anza) category: Standard type: Core -status: Draft +status: Implemented created: 2024-03-25 -feature: (fill in with feature tracking issues once accepted) +feature: 7mScTYkJXsbdrcwTQRs7oeCSXoJm4WjzBsRyf8bCU3Np (https://github.com/anza-xyz/agave/issues/884) +development: + - Anza - Implemented (https://github.com/solana-foundation/solana-improvement-documents/pull/133) + - Firedancer - Implemented --- ## Summary diff --git a/proposals/0137-curve25519-error.md b/proposals/0137-curve25519-error.md index e5eb0064..46bf2630 100644 --- a/proposals/0137-curve25519-error.md +++ b/proposals/0137-curve25519-error.md @@ -5,12 +5,12 @@ authors: - Sam Kim category: Standard type: Core -status: Draft +status: Accepted created: 2024-04-08 -feature: -supersedes: -superseded-by: -extends: +feature: FuS3FPfJDKSNot99ECLXtp3rueq36hMNStJkPJwWodLh (https://github.com/anza-xyz/agave/issues/1132) +development: + - Anza - Implemented (https://github.com/anza-xyz/agave/pull/412) + - Firedancer - WIP --- ## Summary diff --git a/proposals/0138-deprecate-legacy-vote-instructions.md b/proposals/0138-deprecate-legacy-vote-instructions.md index 97ba768e..2d425a55 100644 --- a/proposals/0138-deprecate-legacy-vote-instructions.md +++ b/proposals/0138-deprecate-legacy-vote-instructions.md @@ -5,7 +5,7 @@ authors: - Ashwin Sekar category: Standard type: Core -status: Review +status: Accepted created: 2024-04-09 feature: (fill in with feature tracking issues once accepted) --- diff --git a/proposals/0140-migrate-config-to-core-bpf.md b/proposals/0140-migrate-config-to-core-bpf.md index 86cc8cdc..4a96688e 100644 --- a/proposals/0140-migrate-config-to-core-bpf.md +++ b/proposals/0140-migrate-config-to-core-bpf.md @@ -5,9 +5,12 @@ authors: - Joe Caulfield - Anza Technology category: Standard type: Core -status: Draft +status: Accepted created: 2024-04-02 -feature: (fill in with feature tracking issues once accepted) +feature: 2Fr57nzzkLYXW695UdDxDeR5fhnZWSttZeZYemrnpGFV (https://github.com/anza-xyz/agave/issues/1378) +development: + - Anza - Implemented (https://github.com/anza-xyz/agave/pull/1379) + - Firedancer - Not started --- ## Summary diff --git a/proposals/0148-stake-program-move-instructions.md b/proposals/0148-stake-program-move-instructions.md index 73b07a6b..8e138eb0 100644 --- a/proposals/0148-stake-program-move-instructions.md +++ b/proposals/0148-stake-program-move-instructions.md @@ -5,9 +5,12 @@ authors: - Hanako Mumei category: Standard type: Core -status: Draft +status: Implemented created: 2024-04-30 -feature: (fill in with feature tracking issues once accepted) +feature: 7bTK6Jis8Xpfrs8ZoUfiMDPazTcdPcTWheZFJTA5Z6X4 (https://github.com/anza-xyz/agave/issues/1610) +development: + - Anza - implemented (https://github.com/anza-xyz/agave/pull/1415) + - Firedancer - Implemented --- ## Summary diff --git a/proposals/0149-migrate-snapshot-epoch-stakes.md b/proposals/0149-migrate-snapshot-epoch-stakes.md index b5477f58..b0f4ed1d 100644 --- a/proposals/0149-migrate-snapshot-epoch-stakes.md +++ b/proposals/0149-migrate-snapshot-epoch-stakes.md @@ -4,7 +4,7 @@ title: Migrate Snapshot Serialized Epoch Stakes authors: Justin Starry (Anza) category: Standard type: Core -status: Draft +status: Accepted created: 2024-05-09 feature: (fill in with feature tracking issues once accepted) --- diff --git a/proposals/0152-precompiles.md b/proposals/0152-precompiles.md index 73d406d3..f7f522e9 100644 --- a/proposals/0152-precompiles.md +++ b/proposals/0152-precompiles.md @@ -5,12 +5,11 @@ authors: - Emanuele Cesena category: Standard type: Core -status: Draft +status: Accepted created: 2024-06-03 -feature: -supersedes: -superseded-by: -extends: +feature: ed9tNscbWLYBooxWA7FE2B5KHWs8A6sxfY8EzezEcoo +development: + - Anza - implemented (https://github.com/anza-xyz/agave/pull/1876) --- ## Summary diff --git a/proposals/0153-elgamal-proof-program.md b/proposals/0153-elgamal-proof-program.md index 44e94d80..71a1902f 100644 --- a/proposals/0153-elgamal-proof-program.md +++ b/proposals/0153-elgamal-proof-program.md @@ -5,12 +5,8 @@ authors: - Sam Kim category: Standard type: Core -status: Draft -created: 2024-06-13T00:00:00.000Z -feature: null -supersedes: null -superseded-by: null -extends: null +status: Accepted +created: 2024-06-13 --- ## Summary diff --git a/proposals/0183-skip-rent-rewrites.md b/proposals/0183-skip-rent-rewrites.md index 39ae24ca..0fb80bb6 100644 --- a/proposals/0183-skip-rent-rewrites.md +++ b/proposals/0183-skip-rent-rewrites.md @@ -5,7 +5,7 @@ authors: - brooks@anza.xyz category: Standard type: Core -status: Draft +status: Accepted created: 2024-10-04 feature: https://github.com/solana-labs/solana/issues/26599 ---