solana/sdk
behzad nouri 73ac104df2
propagates errors out of Packet::from_data (#13445)
Packet::from_data is ignoring serialization errors:
https://github.com/solana-labs/solana/blob/d08c3232e/sdk/src/packet.rs#L42-L48
This is likely never useful as the packet will be sent over the wire
taking bandwidth but at the receiving end will either fail to
deserialize or it will be invalid.
This commit will propagate the errors out of the function to the
call-site, allowing the call-site to handle the error.
2020-11-08 15:10:03 +00:00
..
benches move Account to solana-sdk (#13198) 2020-10-28 22:01:07 -07:00
bpf Add sol_log_compute_units syscall 2020-10-29 21:45:24 -07:00
cargo-build-bpf cargo-build-bpf/cargo-test-bpf now support --workspace/--all 2020-11-06 12:27:46 -08:00
cargo-test-bpf cargo-build-bpf/cargo-test-bpf now support --workspace/--all 2020-11-06 12:27:46 -08:00
docker-solana Update nofile flag in Docker to run Solana 2020-08-28 16:49:28 -07:00
macro Rename solana-program-sdk to solana-program 2020-10-24 08:37:55 -07:00
program Fix stake split rent-exempt adjustment (#13357) 2020-11-06 20:32:05 +00:00
src propagates errors out of Packet::from_data (#13445) 2020-11-08 15:10:03 +00:00
.gitignore
Cargo.toml Native/builtin programs now receive an InvokeContext 2020-10-29 21:45:24 -07:00
Xargo.toml Initial population of solana-program-sdk 2020-10-24 08:37:55 -07:00
build.rs Remove frozen ABI modules from solana-sdk 2020-10-20 16:11:30 -07:00