Skip to content

Commit

Permalink
debug non-confirmed tx
Browse files Browse the repository at this point in the history
  • Loading branch information
miralandlabs committed Aug 12, 2024
1 parent 1fe5762 commit c19cfc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/gateway/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/miner/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit c19cfc0

Please sign in to comment.