solana/sdk/program
vadorovsky 67f8daf6e9
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
2023-11-10 16:00:10 +09:00
..
src chore: Update light-poseidon to 0.2.0 (#33923) 2023-11-10 16:00:10 +09:00
tests
.gitignore
Cargo.toml Bump platform-tools to v1.39 (#33804) 2023-10-21 16:22:16 -04:00
README.md remove references to eol helloworld example repo (#32550) 2023-07-20 00:35:54 -05:00
build.rs
package.json

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