Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump env version, update cost parameters #3876

Merged
merged 3 commits into from
Aug 10, 2023
Merged

Conversation

jayz22
Copy link
Contributor

@jayz22 jayz22 commented Aug 10, 2023

Description

Bump env version to pick up the changes.
Update cost parameters.

Checklist

  • Reviewed the contributing document
  • Rebased on top of master (no merge commits)
  • Ran clang-format v8.0.0 (via make format or the Visual Studio extension)
  • Compiles
  • Ran all tests
  • If change impacts performance, include supporting evidence per the performance document

bumpWithFootprint("key", UINT32_MAX, contractKeys,
{contractDataKey(contractID, makeSymbolSCVal("key"),
ContractDataDurability::PERSISTENT, DATA_ENTRY)},
false, ContractDataDurability::PERSISTENT);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this is the right update to this test @sisuresh since the bump past max ledger is no longer allowed by the env?


auto maxExpiration =
ledgerSeq + stateExpirationSettings.maxEntryExpiration - 1;
checkContractDataExpirationLedger(
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of removing this, I would do a bump to the max and check that it worked.

@sisuresh
Copy link
Contributor

r+ 2a5c1da

@sisuresh
Copy link
Contributor

r+ 652cac1

@latobarita latobarita merged commit 35170ec into stellar:master Aug 10, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants