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

Enforce stellar-core limits during testing #1431

Open
sisuresh opened this issue Jan 27, 2025 · 0 comments
Open

Enforce stellar-core limits during testing #1431

sisuresh opened this issue Jan 27, 2025 · 0 comments

Comments

@sisuresh
Copy link
Contributor

What problem does your feature solve?

Currently, only cpu and memory limits are enforced during testing because those two limits are tracked in the host. Limits like the entry and byte limits are enforced in core, so contract tests using the sdk are not affected by these limits. The issue with this is that a contract developer will not realize those limits are an issue until after they deploy their contract to testnet, potentially resulting in wasted time developing a contract that doesn't work.

We should allow the sdk testutils to set and enforce limits just like the ones in core (read_entries, write_entries, read_bytes, write_bytes, and contract_events_size_bytes).

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

No branches or pull requests

1 participant