migrate blake3 to keccak

This commit is contained in:
Hardhat Chad
2024-08-01 04:40:37 +00:00
parent f5609d4434
commit b4bae9c823
3 changed files with 95 additions and 71 deletions

View File

@@ -13,9 +13,9 @@ use solana_program::program::set_return_data;
#[allow(deprecated)]
use solana_program::{
account_info::AccountInfo,
blake3::hashv,
clock::Clock,
entrypoint::ProgramResult,
keccak::hashv,
program_error::ProgramError,
pubkey::Pubkey,
sanitize::SanitizeError,

View File

@@ -3,9 +3,9 @@ use std::mem::size_of;
use ore_api::{consts::*, instruction::OpenArgs, loaders::*, state::Proof};
use solana_program::{
account_info::AccountInfo,
blake3::hashv,
clock::Clock,
entrypoint::ProgramResult,
keccak::hashv,
program_error::ProgramError,
slot_hashes::SlotHash,
system_program,