solana/sdk/program
mergify[bot] 7036ea0345
v1.17: chore: Update light-poseidon to 0.2.0 (backport of #33923) (#34247)
chore: Update light-poseidon to 0.2.0 (#33923)

That new release contains an important change which prevents a
potential DDoS.

* Lightprotocol/light-poseidon#32

Invoking `from_bytes_be` function light-poseidon 0.1.1 inverts all
the inputs before performing a check whether their length exceeds
the modulus of the prime field. Therefore, it was prone to an
attack, where a mailicious user could submit long byte slices just
to DDoS the validator, being stuck on inverting large byte sequences.

The update and mentioned change fixes the same issue as #33363 aims
to address.

The new release contains also few other less important changes like:

* Lightprotocol/light-poseidon#37
* Lightprotocol/light-poseidon#38
* Lightprotocol/light-poseidon#39

(cherry picked from commit 67f8daf6e9)

Co-authored-by: vadorovsky <vadorovsky@protonmail.com>
2023-12-09 08:11:34 +09:00
..
src v1.17: chore: Update light-poseidon to 0.2.0 (backport of #33923) (#34247) 2023-12-09 08:11:34 +09: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 program: move array-bytes to dev-dependencies (#33277) 2023-09-19 09:07:35 -07:00
README.md remove references to eol helloworld example repo (#32550) 2023-07-20 00:35:54 -05:00
build.rs
package.json fix: renamed the internal wasm_bindgen init function to avoid collision 2022-03-10 11:33:24 -08:00

README.md

Solana

Solana Program

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

More information about Solana is available in the Solana documentation.

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

Still have questions? Ask us on Stack Exchange