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

Limit ever-growing Vectors #56

Open
3 tasks
Maar-io opened this issue Mar 21, 2023 · 1 comment
Open
3 tasks

Limit ever-growing Vectors #56

Maar-io opened this issue Mar 21, 2023 · 1 comment

Comments

@Maar-io
Copy link
Contributor

Maar-io commented Mar 21, 2023

Use limits and check these limits in the related functions for all ever-growing structures. Mappings are not considered.
Some of the data structures using ever-growing Vectors are:

Base::part_ids
Base::equippable_address
Part::equippable
NestingData::pending_children
NestingData::accepted_children

Acceptance criteria

  • explore expected real life limits and make comments in the code
  • unit test updated
  • integration test updated
@Maar-io
Copy link
Contributor Author

Maar-io commented Apr 26, 2023

use-ink/ink#1682

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