From 6724e1cf35fd8bbdcac1965b60dc852c1f173f37 Mon Sep 17 00:00:00 2001 From: Shawn Reuland Date: Mon, 11 Dec 2023 12:06:08 -0800 Subject: [PATCH] updated the fees padding factor 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 1cfc16b16e..d900373ee0 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 {