Crate solana_builtins

Crate solana_builtins 

Source
👎Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
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_migrationDeprecated
prototypeDeprecated
Prototype layouts for builtins.

Statics§

BUILTINSDeprecated
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_BUILTINSDeprecated