Secondary store limit #326
Unanswered
0xshinobii
asked this question in
Questions
Replies: 1 comment 1 reply
-
I think it makes sense to have a secondary store for each credit account. I don't think there's a hard limit on the number because the store owner doesn't have a list to track all the stores (unless you save this info yourself), so even if you have a lot it won't affect storage or performance. In general, state on aptos is generally stored as distributed as possible. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Discord user ID
No response
Describe your question in detail.
Hey folks, is there any limit on several secondary stores the module can create, and also how do we estimate gas for creating and maintaining a store? Is it advisable to have multiple secondary stores per user to maintain funds deposited by user or is there a better way to do it in move? The behavior in solidity that I want to achieve is maintaining multiple credit accounts (contracts) per user which hold user funds but are in control of the protocol.
What error, if any, are you getting?
No response
What have you tried or looked at? Or how can we reproduce the error?
No response
Which operating system are you using?
macOS
Which SDK or tool are you using? (if any)
Aptos CLI
Describe your environment or tooling in detail
No response
Beta Was this translation helpful? Give feedback.
All reactions