From 6f4fe178dd1256e865c38686c6cbf7f80fee72e6 Mon Sep 17 00:00:00 2001 From: Mayukha Vadari Date: Fri, 24 Jul 2026 19:29:26 -0400 Subject: [PATCH] fix tests --- src/test/app/Wasm_test.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/app/Wasm_test.cpp b/src/test/app/Wasm_test.cpp index 745305500f..8d736047e7 100644 --- a/src/test/app/Wasm_test.cpp +++ b/src/test/app/Wasm_test.cpp @@ -425,7 +425,7 @@ struct Wasm_test : public beast::unit_test::Suite auto re = engine.run( allHostFuncWasm, hfs, 1'000'000, escrowFunctionName, {}, imp, env.journal); - checkResult(re, 1, 69'840); + checkResult(re, 1, 69'589); env.close(); } @@ -465,7 +465,7 @@ struct Wasm_test : public beast::unit_test::Suite { TestHostFunctions hfs(env); auto re = runEscrowWasm(allHFWasm, hfs, 100'000, escrowFunctionName, {}); - checkResult(re, 1, 69'840); + checkResult(re, 1, 69'589); } { @@ -489,7 +489,7 @@ struct Wasm_test : public beast::unit_test::Suite TestHostFunctions hfs(env); auto re = runEscrowWasm( allHFWasm, hfs, std::numeric_limits::max(), escrowFunctionName, {}); - checkResult(re, 1, 69'840); + checkResult(re, 1, 69'589); } { // fail because trying to access nonexistent field @@ -658,7 +658,7 @@ struct Wasm_test : public beast::unit_test::Suite auto const codecovWasm = hexToBytes(kCodecovTestsWasmHex); TestHostFunctions hfs(env); - auto const allowance = 357'969; + auto const allowance = 343'116; auto re = runEscrowWasm(codecovWasm, hfs, allowance, escrowFunctionName, {}); checkResult(re, 1, allowance);