From 21e68b6b4a8cc56964f652423d6d44d880609b4b Mon Sep 17 00:00:00 2001 From: Oleksandr Pravdyvyi Date: Wed, 24 Sep 2025 15:24:20 +0300 Subject: [PATCH] fix: proving in dev mode --- ci_scripts/test-ubuntu.sh | 2 +- integration_tests/src/lib.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ci_scripts/test-ubuntu.sh b/ci_scripts/test-ubuntu.sh index d85b6c5..9efa2d5 100644 --- a/ci_scripts/test-ubuntu.sh +++ b/ci_scripts/test-ubuntu.sh @@ -8,4 +8,4 @@ RISC0_DEV_MODE=1 cargo test --release cd integration_tests export NSSA_WALLET_HOME_DIR=$(pwd)/configs/debug/wallet/ export RUST_LOG=info -cargo run $(pwd)/configs/debug test_success_private_transfer_to_another_owned_account +RISC0_DEV_MODE=1 cargo run $(pwd)/configs/debug test_success_private_transfer_to_another_owned_account diff --git a/integration_tests/src/lib.rs b/integration_tests/src/lib.rs index d479080..5b0d4ea 100644 --- a/integration_tests/src/lib.rs +++ b/integration_tests/src/lib.rs @@ -337,6 +337,7 @@ pub async fn test_success_private_transfer_to_another_owned_account() { .get_private_account_mut(&from) .unwrap(); + from_acc.1.program_owner = nssa::program::Program::authenticated_transfer_program().id(); from_acc.1.balance -= 100; from_acc.1.nonce += 1; @@ -350,6 +351,7 @@ pub async fn test_success_private_transfer_to_another_owned_account() { .get_private_account_mut(&to) .unwrap(); + to_acc.1.program_owner = nssa::program::Program::authenticated_transfer_program().id(); to_acc.1.balance += 100; to_acc.1.nonce += 1;