Adding a static resize function inside the storage trait if storage is dynamic
#164
Unanswered
amitsingh19975
asked this question in
Proposal
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Right now, we assume that if the storage has a
storage_resizable_container_tagtag, then the storage has an implicit resize function. This assumption is not checked usingconceptthat could be dangerous. I would like to propose that if the container is dynamic, there should be a static resize function that the user can define themselves, and we don't need to worry about if the container has a different way to resize function.Beta Was this translation helpful? Give feedback.
All reactions