Skip to content

Commit 596d168

Browse files
committed
fix test
1 parent 18b5af2 commit 596d168

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/rust.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ jobs:
5050
cargo test -p light-array-map --all-features
5151
cargo test -p light-hasher --all-features
5252
cargo test -p light-compressed-account --all-features
53-
cargo test -p light-compressed-account --features new-unique,poseidon
5453
cargo test -p light-account-checks --all-features
5554
cargo test -p light-verifier --all-features
5655
cargo test -p light-merkle-tree-metadata --all-features

program-libs/compressed-account/src/compressed_account.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,8 @@ impl ZCompressedAccount<'_> {
379379

380380
#[cfg(all(not(feature = "pinocchio"), test, feature = "poseidon"))]
381381
mod tests {
382+
use borsh::BorshSerialize;
383+
use light_hasher::hash_to_field_size::hash_to_bn254_field_size_be;
382384
use light_hasher::Poseidon;
383385
use light_zero_copy::traits::ZeroCopyAt;
384386
use num_bigint::BigUint;

program-libs/macros/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub fn derive_noop(_input: TokenStream) -> TokenStream {
6565
TokenStream::new()
6666
}
6767

68-
/// Derives a Light Protocol CPI signer PDA at runtime
68+
/// Derives a Light Protocol CPI signer PDA at compile time
6969
///
7070
/// This macro computes the CPI signer PDA using the "cpi_authority" seed
7171
/// for the given program ID. Uses `solana_pubkey` with `solana` feature,

0 commit comments

Comments
 (0)