Expand description
Solana builtin programs.
Warning: This crate is not for public consumption. It will change, and could possibly be removed altogether in the future. For now, it is purely for the purpose of managing the migration of builtins to Core BPF.
It serves as a source of truth for:
- The list of builtins that a Bank should add.
- Which of those builtins have been assigned a feature gate to migrate to Core BPF, as well as whether or not that feature gate has been activated.
Modules§
- core_
bpf_ migration - prototype
- Prototype layouts for builtins.
Statics§
- BUILTINS
- DEVELOPER: when a builtin is migrated to sbpf, please add its corresponding migration feature ID to solana-builtin-default-costs::BUILTIN_INSTRUCTION_COSTS, so the builtin’s default cost can be determined properly based on feature status. When migration completed, and the feature gate is enabled everywhere, please remove that builtin entry from solana-builtin-default-costs::BUILTIN_INSTRUCTION_COSTS.
- STATELESS_
BUILTINS