-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add docs for builtin default cu change (#278)
- Loading branch information
Showing
2 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
.../docs/references/feature-gates/c9oahlxdbm3sswtjx1ybgzpy55r2rarhmn1pbqn6hogh.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters