Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mock-app-verifier/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions mock-app-verifier/programs/verifier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ anchor-spl = "0.26.0"
solana-security-txt = "0.1.0"
merkle_tree_program = { path = "../../../light-system-programs/programs/merkle_tree_program", features = ["cpi"] }
verifier_program_two = { path = "../../../light-system-programs/programs/verifier_program_two", features = ["cpi"] }
light-macros = { path = "../../../light-macros"}

#solana
solana-program = "1.15.2"
Expand Down
8 changes: 3 additions & 5 deletions mock-app-verifier/programs/verifier/src/processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ use crate::verifying_key::VERIFYINGKEY;
use crate::LightInstructionFirst;
use crate::LightInstructionSecond;
use anchor_lang::prelude::*;
use light_macros::pubkey;
use light_verifier_sdk::light_transaction::VERIFIER_STATE_SEED;
use light_verifier_sdk::{
light_app_transaction::AppTransaction,
Expand All @@ -17,11 +18,8 @@ impl Config for TransactionsConfig {
const NR_LEAVES: usize = 4;
/// Number of checked public inputs, Kyc, Invoking Verifier, Apphash.
const NR_CHECKED_PUBLIC_INPUTS: usize = 3;
/// ProgramId in bytes.
const ID: [u8; 32] = [
218, 7, 92, 178, 255, 94, 198, 129, 118, 19, 222, 83, 11, 105, 42, 135, 53, 71, 119, 105,
218, 71, 67, 12, 189, 129, 84, 51, 92, 74, 131, 39,
];
/// ProgramId.
const ID: Pubkey = pubkey!("Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS");
}

pub fn process_transfer_4_ins_4_outs_4_checked_first<'a, 'b, 'c, 'info>(
Expand Down