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

Add config flag to override all initial Soroban limits #3900

Closed
wants to merge 2 commits into from

Conversation

sisuresh
Copy link
Contributor

Description

Resolves #3897

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

@sisuresh sisuresh requested review from jayz22 and anupsdf August 29, 2023 15:28
e.txMaxReadBytes *= 10;
e.txMaxWriteLedgerEntries *= 10;
e.txMaxWriteBytes *= 10;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

I think instead of multiplying individual setting by a scaling factor, we should define all the test configs in a new structure TestInitialSorobanNetworkConfig. This way is more clear and easy to maintain.

Copy link
Contributor

@jayz22 jayz22 left a comment

Choose a reason for hiding this comment

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

Overall looks good, just one comment to split out the test configs into a new struct for maintainability.

@anupsdf
Copy link
Contributor

anupsdf commented Aug 29, 2023

Are we going with TestOverrideSorobanNetworkConfig struct approach from #3901 instead?

@sisuresh
Copy link
Contributor Author

Are we going with TestOverrideSorobanNetworkConfig struct approach from #3901 instead?

Yeah

@sisuresh
Copy link
Contributor Author

Closed in favor of #3901

@sisuresh sisuresh closed this Aug 29, 2023
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.

Provide a simple mechanism for users to increase the initial Soroban settings limits
3 participants