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 88abeffb9e..c7c19295fc 100644 --- a/src/transactions/test/InvokeHostFunctionTests.cpp +++ b/src/transactions/test/InvokeHostFunctionTests.cpp @@ -2849,8 +2849,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 =