solana/sdk
HaoranYi 5a3a10e847
Deprecate account meta executable read/update in bpf loaders (#34194)
* use PROGRAM_OWNER + program data for account executable

mock account data with executable_meta in precompiled program and update
test_bank_hash_consistency test

pr: return const slice and add comments

pr: use ReadableAccount

use const to get rid of magic number

add featuregate disable_bpf_loader_instructions to disable bpf loader management instructions, and deprecate_executable_meta_update_in_bpf_loader to deprecate executable flag update in bpf loader

deprecate usage of executable in Account

fix a test

fix sbp bench

fix sbf program tests

add feature gate to account and borrowed account apis

fix tests

more test fixes

* restore bpf_loader v2 tests

---------

Co-authored-by: HaoranYi <haoran.yi@solana.com>
2024-01-03 15:11:48 -06:00
..
benches Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
bpf Bump platform-tools to v1.39 (#33804) 2023-10-21 16:22:16 -04:00
cargo-build-bpf clippy: Replaces .get(0) with .first() (#34048) 2023-11-13 17:22:17 -05:00
cargo-build-sbf Use BankForks on tests - Part 3 (#34248) 2023-12-01 13:47:22 -03:00
cargo-test-bpf clippy: Replaces .get(0) with .first() (#34048) 2023-11-13 17:22:17 -05:00
cargo-test-sbf Fix - Upcoming `arithmetic_side_effects` lints (#33000) 2023-08-29 20:58:53 +02:00
docker-solana repurposes tvu_forwards socket for TVU over QUIC (#32737) 2023-08-07 22:02:41 +00:00
gen-headers Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
macro Do not derive Copy for EpochSchedule and Rent (#32767) 2023-12-01 07:57:25 -08:00
program [docs] updated readme and fix links (#34565) 2024-01-03 09:06:06 -05:00
sbf Bump platform-tools to v1.39 (#33804) 2023-10-21 16:22:16 -04:00
src Deprecate account meta executable read/update in bpf loaders (#34194) 2024-01-03 15:11:48 -06:00
tests
.gitignore
Cargo.toml sdk: put AccountSharedData::set_data() behind feature="dev-context-only-utils" (#33086) 2023-09-01 21:02:14 +07:00
README.md [docs] updated readme and fix links (#34565) 2024-01-03 09:06:06 -05:00
build.rs
package.json

README.md

Solana

Solana SDK

Use the Solana SDK Crate to write client side applications in Rust. If writing on-chain programs, use the Solana Program Crate instead.

More information about Solana is available in the Solana documentation.

The Solana Program Library provides examples of how to use this crate.

Still have questions? Ask us on Stack Exchange