fix docs. refactor sequencer logic to check size before executing

This commit is contained in:
Sergio Chouhy
2026-04-06 21:07:55 -03:00
parent ed1926b38a
commit d9ddd5e3f6
5 changed files with 59 additions and 60 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ pub const CLOCK_PROGRAM_ACCOUNT_IDS: [AccountId; 3] = [
/// The instruction type for the Clock Program. The sequencer passes the current block timestamp.
pub type Instruction = Timestamp;
/// The data stored in a clock account: `[block_id: u64 LE | timestamp: u64 LE]`.
/// The data stored in a clock account.
#[derive(Debug, Clone, Copy, PartialEq, Eq, BorshSerialize, BorshDeserialize)]
pub struct ClockAccountData {
pub block_id: u64,