mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-03 13:53:12 +00:00
18 lines
367 B
Rust
18 lines
367 B
Rust
use nssa_core::program::read_nssa_inputs;
|
|
use risc0_zkvm::guest::env;
|
|
|
|
type Instruction = ();
|
|
|
|
fn main() {
|
|
let (input_accounts, _) = read_nssa_inputs::<Instruction>();
|
|
|
|
let [pre1, _] = match input_accounts.try_into() {
|
|
Ok(array) => array,
|
|
Err(_) => return,
|
|
};
|
|
|
|
let account_pre1 = pre1.account;
|
|
|
|
env::commit(&vec![account_pre1]);
|
|
}
|