mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-04-09 12:43:07 +00:00
use Timestamp instead of u64
This commit is contained in:
parent
015999b3a5
commit
ed1926b38a
Binary file not shown.
@ -1,9 +1,12 @@
|
||||
use nssa_core::program::{
|
||||
AccountPostState, ChainedCall, ProgramId, ProgramInput, ProgramOutput, read_nssa_inputs,
|
||||
use nssa_core::{
|
||||
Timestamp,
|
||||
program::{
|
||||
AccountPostState, ChainedCall, ProgramId, ProgramInput, ProgramOutput, read_nssa_inputs,
|
||||
},
|
||||
};
|
||||
use risc0_zkvm::serde::to_vec;
|
||||
|
||||
type Instruction = (ProgramId, u64); // (clock_program_id, timestamp)
|
||||
type Instruction = (ProgramId, Timestamp); // (clock_program_id, timestamp)
|
||||
|
||||
/// A program that chain-calls the clock program with the clock accounts it received as pre-states.
|
||||
/// Used in tests to verify that user transactions cannot modify clock accounts, even indirectly
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user