migrate to steel

This commit is contained in:
Hardhat Chad
2024-09-25 06:45:37 +00:00
parent e8f0721fca
commit 7814e28847
21 changed files with 34 additions and 22 deletions

View File

@@ -1,5 +1,5 @@
use num_enum::IntoPrimitive;
use ore_utils::*;
use steel::*;
use thiserror::Error;
#[derive(Debug, Error, Clone, Copy, PartialEq, Eq, IntoPrimitive)]

View File

@@ -1,5 +1,5 @@
use bytemuck::{Pod, Zeroable};
use ore_utils::*;
use steel::*;
#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]

View File

@@ -1,6 +1,6 @@
use bytemuck::{Pod, Zeroable};
use num_enum::TryFromPrimitive;
use ore_utils::*;
use steel::*;
#[repr(u8)]
#[derive(Clone, Copy, Debug, Eq, PartialEq, TryFromPrimitive)]

View File

@@ -1,5 +1,5 @@
use ore_utils::*;
use solana_program::{account_info::AccountInfo, program_error::ProgramError, pubkey::Pubkey};
use steel::*;
use crate::{
consts::*,

View File

@@ -1,6 +1,6 @@
use bytemuck::{Pod, Zeroable};
use ore_utils::*;
use solana_program::pubkey::Pubkey;
use steel::*;
use crate::consts::BUS;

View File

@@ -1,6 +1,6 @@
use bytemuck::{Pod, Zeroable};
use ore_utils::*;
use solana_program::pubkey::Pubkey;
use steel::*;
use crate::consts::CONFIG;

View File

@@ -1,6 +1,6 @@
use bytemuck::{Pod, Zeroable};
use ore_utils::*;
use solana_program::pubkey::Pubkey;
use steel::*;
use crate::consts::PROOF;

View File

@@ -1,6 +1,6 @@
use bytemuck::{Pod, Zeroable};
use ore_utils::*;
use solana_program::pubkey::Pubkey;
use steel::*;
use crate::consts::TREASURY;