update gas amounts

This commit is contained in:
Mayukha Vadari
2026-05-26 18:29:28 -04:00
parent 99072fbddf
commit e20b2430ba
2 changed files with 5 additions and 5 deletions

View File

@@ -1019,7 +1019,7 @@ struct EscrowSmart_test : public beast::unit_test::Suite
if (BEAST_EXPECT(txMeta && txMeta->isFieldPresent(sfGasUsed)))
{
BEAST_EXPECTS(
txMeta->getFieldU32(sfGasUsed) == 64'292,
txMeta->getFieldU32(sfGasUsed) == 68'292,
std::to_string(txMeta->getFieldU32(sfGasUsed)));
}
if (BEAST_EXPECT(txMeta->isFieldPresent(sfWasmReturnCode)))

View File

@@ -426,7 +426,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, 70'340);
checkResult(re, 1, 69'840);
env.close();
}
@@ -465,7 +465,7 @@ struct Wasm_test : public beast::unit_test::Suite
{
TestHostFunctions hfs(env, 0);
auto re = runEscrowWasm(allHFWasm, hfs, 100'000, escrowFunctionName, {});
checkResult(re, 1, 70'340);
checkResult(re, 1, 69'840);
}
{
@@ -489,7 +489,7 @@ struct Wasm_test : public beast::unit_test::Suite
TestHostFunctions hfs(env, 0);
auto re = runEscrowWasm(
allHFWasm, hfs, std::numeric_limits<int64_t>::max(), escrowFunctionName, {});
checkResult(re, 1, 70'340);
checkResult(re, 1, 69'840);
}
{ // 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, 0);
auto const allowance = 220'169;
auto const allowance = 357'969;
auto re = runEscrowWasm(codecovWasm, hfs, allowance, escrowFunctionName, {});
checkResult(re, 1, allowance);