Skip to content

Commit

Permalink
Merge pull request #4233 from sisuresh/resources
Browse files Browse the repository at this point in the history
Increase resources for settings upgrade utils

Reviewed-by: dmkozh
  • Loading branch information
latobarita committed Mar 7, 2024
2 parents b066211 + 0e3b0f9 commit 1169b8a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/SettingsUpgradeUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ getUploadTx(PublicKey const& publicKey, SequenceNumber seqNum)

auto& tx = txEnv.v1().tx;
tx.sourceAccount = toMuxedAccount(publicKey);
tx.fee = 50'000'000;
tx.fee = 100'000'000;
tx.seqNum = seqNum;

Preconditions cond;
Expand Down Expand Up @@ -49,7 +49,7 @@ getUploadTx(PublicKey const& publicKey, SequenceNumber seqNum)

tx.ext.v(1);
tx.ext.sorobanData().resources = uploadResources;
tx.ext.sorobanData().resourceFee = 35'000'000;
tx.ext.sorobanData().resourceFee = 55'000'000;

return {txEnv, contractCodeLedgerKey};
}
Expand All @@ -63,7 +63,7 @@ getCreateTx(PublicKey const& publicKey, LedgerKey const& contractCodeLedgerKey,

auto& tx = txEnv.v1().tx;
tx.sourceAccount = toMuxedAccount(publicKey);
tx.fee = 5'000'000;
tx.fee = 15'000'000;
tx.seqNum = seqNum;

Preconditions cond;
Expand Down Expand Up @@ -133,7 +133,7 @@ getCreateTx(PublicKey const& publicKey, LedgerKey const& contractCodeLedgerKey,

tx.ext.v(1);
tx.ext.sorobanData().resources = uploadResources;
tx.ext.sorobanData().resourceFee = 3'000'000;
tx.ext.sorobanData().resourceFee = 7'000'000;

return {txEnv, contractSourceRefLedgerKey, contractID};
}
Expand Down

0 comments on commit 1169b8a

Please sign in to comment.