From e60b207f3af4badae783d046d8e8ad4d3b93e247 Mon Sep 17 00:00:00 2001 From: tamirms Date: Wed, 6 Dec 2023 17:05:14 +0000 Subject: [PATCH] fix comment about fees fudge factor --- 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 5e6858b70..1cfc16b16 100644 --- a/cmd/soroban-rpc/lib/preflight/src/fees.rs +++ b/cmd/soroban-rpc/lib/preflight/src/fees.rs @@ -138,7 +138,7 @@ fn calculate_host_function_soroban_resources( .map(|c| c.encoded_new_value.as_ref().map_or(0, Vec::len) as u32) .sum(); - // Add a 20% leeway with a minimum of 800k instructions + // Add a 20% leeway with a minimum of 1 million instructions let budget_instructions = budget .get_cpu_insns_consumed() .context("cannot get instructions consumed")?;