update sdk

This commit is contained in:
Hardhat Chad
2025-07-15 16:38:23 -07:00
parent d129591638
commit 4bdecbb152
3 changed files with 14 additions and 6 deletions

View File

@@ -1,5 +1,4 @@
use ore_api::prelude::*;
use solana_program::log::sol_log;
use steel::*;
/// No-op, use instruction data for logging w/o truncation.
@@ -7,7 +6,6 @@ pub fn process_log(accounts: &[AccountInfo<'_>], data: &[u8]) -> ProgramResult {
// Load data
let block_id_bytes = data[..8].try_into().unwrap();
let block_id = u64::from_le_bytes(block_id_bytes);
sol_log(format!("Block ID: {}", block_id).as_str());
// Load accounts.
let [signer_info] = accounts else {