mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-13 23:16:52 +00:00
upgrade to steel v3
This commit is contained in:
1680
Cargo.lock
generated
1680
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
12
Cargo.toml
12
Cargo.toml
@@ -16,14 +16,14 @@ keywords = ["solana", "crypto", "mining"]
|
||||
array-const-fn-init = "0.1.1"
|
||||
bytemuck = "1.14.3"
|
||||
const-crypto = "0.1.0"
|
||||
drillx = { version = "2.0.0", features = ["solana"] }
|
||||
mpl-token-metadata = "4.1.2"
|
||||
drillx = { version = "2.2", features = ["solana"] }
|
||||
mpl-token-metadata = "5.1"
|
||||
num_enum = "0.7.2"
|
||||
ore-api = { path = "api" }
|
||||
ore-boost-api = "1.1"
|
||||
solana-program = "^1.18"
|
||||
ore-boost-api = { version = "1.1", path = "../ore-boost/api" }
|
||||
solana-program = "^2.1"
|
||||
spl-token = { version = "^4", features = ["no-entrypoint"] }
|
||||
spl-associated-token-account = { version = "^2.3", features = [ "no-entrypoint" ] }
|
||||
spl-associated-token-account = { version = "^6", features = [ "no-entrypoint" ] }
|
||||
static_assertions = "1.1.0"
|
||||
steel = { features = ["spl"], version = "2.0" }
|
||||
steel = { features = ["spl"], version = "3.0" }
|
||||
thiserror = "1.0.57"
|
||||
|
||||
@@ -77,7 +77,7 @@ pub fn process_initialize(accounts: &[AccountInfo<'_>], _data: &[u8]) -> Program
|
||||
bus_7_info,
|
||||
];
|
||||
for i in 0..BUS_COUNT {
|
||||
create_account::<Bus>(
|
||||
create_program_account::<Bus>(
|
||||
bus_infos[i],
|
||||
system_program,
|
||||
signer_info,
|
||||
@@ -92,7 +92,7 @@ pub fn process_initialize(accounts: &[AccountInfo<'_>], _data: &[u8]) -> Program
|
||||
}
|
||||
|
||||
// Initialize config.
|
||||
create_account::<Config>(
|
||||
create_program_account::<Config>(
|
||||
config_info,
|
||||
system_program,
|
||||
signer_info,
|
||||
@@ -105,7 +105,7 @@ pub fn process_initialize(accounts: &[AccountInfo<'_>], _data: &[u8]) -> Program
|
||||
config.min_difficulty = INITIAL_MIN_DIFFICULTY as u64;
|
||||
|
||||
// Initialize treasury.
|
||||
create_account::<Treasury>(
|
||||
create_program_account::<Treasury>(
|
||||
treasury_info,
|
||||
system_program,
|
||||
signer_info,
|
||||
|
||||
@@ -22,7 +22,7 @@ pub fn process_open(accounts: &[AccountInfo<'_>], _data: &[u8]) -> ProgramResult
|
||||
slot_hashes_info.is_sysvar(&sysvar::slot_hashes::ID)?;
|
||||
|
||||
// Initialize proof.
|
||||
create_account::<Proof>(
|
||||
create_program_account::<Proof>(
|
||||
proof_info,
|
||||
system_program,
|
||||
payer_info,
|
||||
|
||||
Reference in New Issue
Block a user