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 input/output size limits #177

Open
lrettig opened this issue Oct 24, 2024 · 0 comments
Open

Add input/output size limits #177

lrettig opened this issue Oct 24, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@lrettig
Copy link
Contributor

lrettig commented Oct 24, 2024

We should add some reasonable limits on the size of VM input, including the code and the input. For now I suggest the following:

  • code: 1mb
  • input: 10kb

@poszu what do you think?

These could potentially be turned on/off as VM features, and set optionally when the VM is instantiated (like the gas limit).

Update: considering #175, let's also set an output size as well.

@lrettig lrettig added this to the Testnet v2 milestone Oct 24, 2024
@lrettig lrettig added the enhancement New feature or request label Oct 24, 2024
@lrettig lrettig changed the title Add input size limits Add input/output size limits Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant