diff --git a/src/gateway/mod.rs b/src/gateway/mod.rs index 09b8410f..7f5a3f6a 100644 --- a/src/gateway/mod.rs +++ b/src/gateway/mod.rs @@ -61,7 +61,7 @@ pub const CU_LIMIT_CREATE_ATA: u32 = 85_000; // MI added pub const CU_LIMIT_CLAIM: u32 = 12_000; pub const CU_LIMIT_STAKE: u32 = 12_000; // MI added pub const CU_LIMIT_TRANSFER: u32 = 30_000; // MI added, incl. memo -pub const CU_LIMIT_MINE: u32 = 1_000_000; // MI vanilla: 500_000; +pub const CU_LIMIT_MINE: u32 = 500_000; // MI vanilla: 500_000; pub const CU_LIMIT_UPGRADE: u32 = 30_000; // MI const RPC_RETRIES: usize = 0; @@ -71,7 +71,7 @@ const CONFIRM_RETRIES: usize = 8; const CONFIRM_DELAY: u64 = 500; const GATEWAY_DELAY: u64 = 0; //300; -const TIP_AMOUNT: u64 = 100_000; +const TIP_AMOUNT: u64 = 100_000; // lamports pub const DEFAULT_CU_LIMIT: u32 = 200_000; pub const DEFAULT_CU_PRICE: u64 = 10_000; diff --git a/src/miner/mod.rs b/src/miner/mod.rs index 1172bff6..2a333adb 100644 --- a/src/miner/mod.rs +++ b/src/miner/mod.rs @@ -144,7 +144,7 @@ impl Miner { { if let Ok(priority_fee) = gateway::get_recent_priority_fee_estimate().await { // TODO: to optimze, MI - priority_fee + 10_000 + priority_fee // + 10_000 } else { PRIORITY_FEE_CAP }