1 stable release
3.0.0 | Apr 29, 2025 |
---|
#535 in Magic Beans
151 downloads per month
Used in 38 crates
(4 directly)
155KB
2.5K
SLoC
An upgradeable BPF loader native program.
The upgradeable BPF loader is responsible for deploying, upgrading, and
executing BPF programs. The upgradeable loader allows a program's authority
to update the program at any time. This ability breaks the "code is law"
contract that once a program is on-chain it is immutable. Because of this,
care should be taken before executing upgradeable programs which still have
a functioning authority. For more information refer to the
instruction
module.
The solana program deploy
CLI command uses the
upgradeable BPF loader. Calling solana program deploy --final
deploys a
program that cannot be upgraded, but it does so by revoking the authority to
upgrade, not by using the non-upgradeable loader.
Dependencies
~1.9–8.5MB
~81K SLoC