From a9ba75c124a04a8805fc972e195e7a9297e06706 Mon Sep 17 00:00:00 2001 From: Noah Gundotra Date: Fri, 28 Feb 2025 16:05:12 -0500 Subject: [PATCH] add docs for builtin default cu change (#278) --- ...xdbm3sswtjx1ybgzpy55r2rarhmn1pbqn6hogh.mdx | 40 +++++++++++++++++++ .../docs/references/feature-gates/meta.json | 3 +- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 content/docs/references/feature-gates/c9oahlxdbm3sswtjx1ybgzpy55r2rarhmn1pbqn6hogh.mdx diff --git a/content/docs/references/feature-gates/c9oahlxdbm3sswtjx1ybgzpy55r2rarhmn1pbqn6hogh.mdx b/content/docs/references/feature-gates/c9oahlxdbm3sswtjx1ybgzpy55r2rarhmn1pbqn6hogh.mdx new file mode 100644 index 000000000..34a7fc6fa --- /dev/null +++ b/content/docs/references/feature-gates/c9oahlxdbm3sswtjx1ybgzpy55r2rarhmn1pbqn6hogh.mdx @@ -0,0 +1,40 @@ +--- +title: Reserve Minimal CUs for Builtins +seoTitle: + "Reserve Minimal CUs for Builtins: + C9oAhLxDBm3ssWtJx1yBGzPY55r2rArHmN1pbQn6HogH" +--- + +**Feature Key**: +[`C9oAhLxDBm3ssWtJx1yBGzPY55r2rArHmN1pbQn6HogH`](https://explorer.solana.com/address/C9oAhLxDBm3ssWtJx1yBGzPY55r2rArHmN1pbQn6HogH) + +This feature gate reduces default CU allocation for builtin program instructions +down from 200,000 to 3,000 CUs to improve validator performance. + +## Impact + +Less than 0.00001% of transactions will be affected by this change. + +**Developers** should always use compute budget limits to explicitly allocate +CUs for their transactions. This change will not affect transactions that +explicitly allocate CUs. + +The following builtin programs will have their default CU allocation reduced to +3,000 CUs by this change: + +- Stake11111111111111111111111111111111111111 +- Config1111111111111111111111111111111111111 +- Vote111111111111111111111111111111111111111 +- 11111111111111111111111111111111 +- ComputeBudget111111111111111111111111111111 +- AddressLookupTab1e1111111111111111111111111 +- BPFLoaderUpgradeab1e11111111111111111111111 +- BPFLoader1111111111111111111111111111111111 +- BPFLoader2111111111111111111111111111111111 +- LoaderV411111111111111111111111111111111111 +- KeccakSecp256k11111111111111111111111111111 +- Ed25519SigVerify111111111111111111111111111 + +## Activation + +This feature is not yet activated on mainnet. diff --git a/content/docs/references/feature-gates/meta.json b/content/docs/references/feature-gates/meta.json index 1c0c7fcea..f5983ab8c 100644 --- a/content/docs/references/feature-gates/meta.json +++ b/content/docs/references/feature-gates/meta.json @@ -3,7 +3,8 @@ "pages": [ "tsynmcspg4xficj1v3tdb4c7crmr5tsbhlz4sf7rrna", "b7h2caeia4zfcpe3qcgmqbiwibtwrdbrbsj1dy6ktxbq", - "gjvdwrkupndk9qak4vsu4g1n41qnxhy1hevjf8kz45mq" + "gjvdwrkupndk9qak4vsu4g1n41qnxhy1hevjf8kz45mq", + "c9oahlxdbm3sswtjx1ybgzpy55r2rarhmn1pbqn6hogh" ], "defaultOpen": false }