Skip to content

Commit

Permalink
Add feeWrite1KBClassic config setting. (#236)
Browse files Browse the repository at this point in the history
This corresponds to the update made in stellar/stellar-protocol#1661
  • Loading branch information
dmkozh authored Feb 20, 2025
1 parent d22aae2 commit 5d9d204
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Stellar-contract-config-setting.x
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ struct ConfigSettingContractLedgerCostExtV0
{
// Maximum number of in-memory ledger entry read operations per transaction
uint32 txMaxInMemoryReadEntries;
// Fee per 1 KB of classic state written by Soroban.
// This is a flat fee because Soroban can't increase the classic state size.
int64 feeWrite1KBClassic;
};

// Historical data (pushed to core archives) settings for contracts.
Expand Down
1 change: 0 additions & 1 deletion Stellar-transaction.x
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,6 @@ struct Transaction

Operation operations<MAX_OPS_PER_TX>;

// reserved for future use
union switch (int v)
{
case 0:
Expand Down

0 comments on commit 5d9d204

Please sign in to comment.