From 0c446183959bcd1289abb0552c8d5947b24a7a27 Mon Sep 17 00:00:00 2001 From: Dmytro Kozhevin Date: Mon, 16 Dec 2024 18:02:40 -0500 Subject: [PATCH] Update soroban-sdk/src/testutils/cost_estimate.rs Co-authored-by: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com> --- soroban-sdk/src/testutils/cost_estimate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soroban-sdk/src/testutils/cost_estimate.rs b/soroban-sdk/src/testutils/cost_estimate.rs index 999170ed..21f4948b 100644 --- a/soroban-sdk/src/testutils/cost_estimate.rs +++ b/soroban-sdk/src/testutils/cost_estimate.rs @@ -48,7 +48,7 @@ impl CostEstimate { if let Some(res) = self.env.host().get_last_invocation_resources() { res } else { - panic!("Invocation cost estimate is not available. Make sure invocation cost metering is enabled and this is called after an invocation.") + panic!("Invocation cost estimate is not available. Make sure invocation cost metering is enabled in the EnvTestConfig and this is called after an invocation.") } }