From 22ec2db4a6a4419b9b27833ae32ef48f108a73eb Mon Sep 17 00:00:00 2001 From: Shawn Reuland Date: Mon, 11 Dec 2023 12:20:58 -0800 Subject: [PATCH] bumped the preflight fees padding on instrs to 3M --- cmd/soroban-rpc/lib/preflight/src/fees.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/soroban-rpc/lib/preflight/src/fees.rs b/cmd/soroban-rpc/lib/preflight/src/fees.rs index 1cfc16b16..d900373ee 100644 --- a/cmd/soroban-rpc/lib/preflight/src/fees.rs +++ b/cmd/soroban-rpc/lib/preflight/src/fees.rs @@ -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 {