mirror of
https://github.com/d0zingcat/ore.git
synced 2026-05-18 15:10:26 +00:00
Migrate to steel v2 (#102)
* migrate to steel v2 * migrate to steel v2 * assert with err * args ordering * new close * logging * bump deps * bump ore-boost-api version * deprecate bumps in sdk * remove msg * remove comment * remove unused import * bump version
This commit is contained in:
@@ -83,6 +83,7 @@ pub fn mine(
|
||||
}
|
||||
|
||||
/// Builds an open instruction.
|
||||
#[allow(deprecated)]
|
||||
pub fn open(signer: Pubkey, miner: Pubkey, payer: Pubkey) -> Instruction {
|
||||
let proof_pda = proof_pda(signer);
|
||||
Instruction {
|
||||
@@ -179,6 +180,7 @@ pub fn upgrade(signer: Pubkey, beneficiary: Pubkey, sender: Pubkey, amount: u64)
|
||||
}
|
||||
|
||||
/// Builds an initialize instruction.
|
||||
#[allow(deprecated)]
|
||||
pub fn initialize(signer: Pubkey) -> Instruction {
|
||||
let bus_pdas = [
|
||||
bus_pda(0),
|
||||
|
||||
Reference in New Issue
Block a user