Skip to content

Commit

Permalink
bumped CU limit
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmizz committed Jul 18, 2024
1 parent a2cf795 commit 69194f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/cu_limits.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pub const CU_LIMIT_UPGRADE: u32 = 17_985 + 300;
pub const CU_LIMIT_UPGRADE: u32 = 20_000;
pub const CU_LIMIT_CLAIM: u32 = 32_000;
pub const _CU_LIMIT_RESET: u32 = 12_200;
pub const _CU_LIMIT_MINE: u32 = 3200;
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ enum Commands {
#[command(about = "Stake to earn a rewards multiplier")]
Stake(StakeArgs),

#[command(about = "Upgrade your v1 Ore to v2")]
#[command(about = "Upgrade your ORE tokens from v1 to v2")]
Upgrade(UpgradeArgs),

#[cfg(feature = "admin")]
Expand Down
4 changes: 1 addition & 3 deletions src/upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ impl Miner {
.send_and_confirm(&[ix], ComputeBudget::Fixed(CU_LIMIT_UPGRADE), false)
.await
{
Ok(tx) => {
println!("tx: {}", tx);
}
Ok(_sig) => {}
Err(err) => {
println!("error: {}", err);
}
Expand Down

0 comments on commit 69194f2

Please sign in to comment.