solana/sdk
Tao Zhu 3e500d9e92
Feature gate builtin consumes static units during processing instruction (#30702)
* add feature gate
* builtins consume statically defined units at beginning of process_instruction()
* Add new instructionError; return error if builtin did not consume units to enforce builtin to consume units;
* updated related tests
* updated ProgramTest with deactivated native_programs_consume_cu feature to continue support existing mock/test programs that do not consume units
2023-03-24 11:31:01 -05:00
..
benches AccountSharedData: optimize set_data_from_slice 2022-09-23 11:31:33 +01:00
bpf Bump sbf-tools version to v1.35 (#30628) 2023-03-07 07:23:59 -08:00
cargo-build-bpf Fix cargo-build-bpf removing a wrong command line option (#30848) 2023-03-22 09:37:33 -07:00
cargo-build-sbf Update references to platform-tools (#30764) 2023-03-22 07:41:40 -07:00
cargo-test-bpf Update references to platform-tools (#30764) 2023-03-22 07:41:40 -07:00
cargo-test-sbf chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
docker-solana
gen-headers chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
macro chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
program Feature gate builtin consumes static units during processing instruction (#30702) 2023-03-24 11:31:01 -05:00
sbf Update references to platform-tools (#30764) 2023-03-22 07:41:40 -07:00
src Feature gate builtin consumes static units during processing instruction (#30702) 2023-03-24 11:31:01 -05:00
tests fix: renamed the internal wasm_bindgen init function to avoid collision 2022-03-10 11:33:24 -08:00
.gitignore Add wasm bindings for `Pubkey` and `Keypair` 2021-12-09 15:53:58 -08:00
Cargo.toml chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
README.md
build.rs
package.json Add wasm bindings for `Pubkey` and `Keypair` 2021-12-09 15:53:58 -08:00

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 Discord