Skip to content

Commit

Permalink
Increase upload resources
Browse files Browse the repository at this point in the history
  • Loading branch information
sisuresh committed Nov 14, 2023
1 parent 7fe47fe commit 58d7927
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 = 3'000'000;
tx.fee = 10'000'000;
tx.seqNum = seqNum;

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

SorobanResources uploadResources;
uploadResources.footprint.readWrite = {contractCodeLedgerKey};
uploadResources.instructions = 1'833'940;
uploadResources.readBytes = 50;
uploadResources.instructions = 2'000'000;
uploadResources.readBytes = 2000;
uploadResources.writeBytes = 2000;

tx.ext.v(1);
tx.ext.sorobanData().resources = uploadResources;
tx.ext.sorobanData().resourceFee = 2'000'000;
tx.ext.sorobanData().resourceFee = 4'000'000;

return {txEnv, contractCodeLedgerKey};
}
Expand Down

5 comments on commit 58d7927

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from dmkozh
at sisuresh@58d7927

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging sisuresh/stellar-core/latest-upgrade-command = 58d7927 into auto

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sisuresh/stellar-core/latest-upgrade-command = 58d7927 merged ok, testing candidate = dc40f30

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = dc40f30

Please sign in to comment.