Skip to content

Commit

Permalink
bumped the preflight fees padding on instrs to 3M
Browse files Browse the repository at this point in the history
  • Loading branch information
sreuland committed Dec 11, 2023
1 parent 91a441f commit 22ec2db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/soroban-rpc/lib/preflight/src/fees.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ fn calculate_host_function_soroban_resources(
.get_cpu_insns_consumed()
.context("cannot get instructions consumed")?;
let instructions = max(
budget_instructions + 1000000,
budget_instructions + 3000000,
budget_instructions * 120 / 100,
);
Ok(SorobanResources {
Expand Down

0 comments on commit 22ec2db

Please sign in to comment.