Skip to content

Commit

Permalink
add docs for builtin default cu change (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
ngundotra authored Feb 28, 2025
1 parent 2e9ce57 commit a9ba75c
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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.
3 changes: 2 additions & 1 deletion content/docs/references/feature-gates/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"pages": [
"tsynmcspg4xficj1v3tdb4c7crmr5tsbhlz4sf7rrna",
"b7h2caeia4zfcpe3qcgmqbiwibtwrdbrbsj1dy6ktxbq",
"gjvdwrkupndk9qak4vsu4g1n41qnxhy1hevjf8kz45mq"
"gjvdwrkupndk9qak4vsu4g1n41qnxhy1hevjf8kz45mq",
"c9oahlxdbm3sswtjx1ybgzpy55r2rarhmn1pbqn6hogh"
],
"defaultOpen": false
}

0 comments on commit a9ba75c

Please sign in to comment.