rmrk-ink
rmrk-ink copied to clipboard
Limit ever-growing Vectors
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
https://github.com/paritytech/ink/issues/1682