From 239a455d9db30b58c387bf0f221c10eba5c86133 Mon Sep 17 00:00:00 2001 From: Siddharth Suresh Date: Fri, 20 Sep 2024 09:40:20 -0700 Subject: [PATCH] fix settings test --- src/main/SettingsUpgradeUtils.cpp | 4 ++-- src/transactions/test/InvokeHostFunctionTests.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/SettingsUpgradeUtils.cpp b/src/main/SettingsUpgradeUtils.cpp index 0662dfb296..1b241dadf2 100644 --- a/src/main/SettingsUpgradeUtils.cpp +++ b/src/main/SettingsUpgradeUtils.cpp @@ -267,8 +267,8 @@ getInvokeTx(PublicKey const& publicKey, LedgerKey const& contractCodeLedgerKey, contractCodeLedgerKey}; invokeResources.footprint.readWrite = {upgrade}; invokeResources.instructions = 2'000'000; - invokeResources.readBytes = 3000; - invokeResources.writeBytes = 3000; + invokeResources.readBytes = 3200; + invokeResources.writeBytes = 3200; tx.ext.v(1); tx.ext.sorobanData().resources = invokeResources; diff --git a/src/transactions/test/InvokeHostFunctionTests.cpp b/src/transactions/test/InvokeHostFunctionTests.cpp index 1c3e54f8b9..0b127ca0c5 100644 --- a/src/transactions/test/InvokeHostFunctionTests.cpp +++ b/src/transactions/test/InvokeHostFunctionTests.cpp @@ -2850,8 +2850,8 @@ TEST_CASE("settings upgrade command line utils", "[tx][soroban][upgrades]") // mAverageBucketListSize modifySorobanNetworkConfig(*app, [](SorobanNetworkConfig& cfg) { cfg.mStateArchivalSettings.bucketListWindowSamplePeriod = 1; - // This is required to allow for an upgrade of all settings at once. - cfg.mMaxContractDataEntrySizeBytes = 3000; + // These are required to allow for an upgrade of all settings at once. + cfg.mMaxContractDataEntrySizeBytes = 3200; }); const int64_t startingBalance =