-
Notifications
You must be signed in to change notification settings - Fork 396
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
Move history of contract code migrations to their own prefix store. #196
Comments
Good idea. I think they can have a different prefix store, but one element per contract. Using the same address as key. Definitely makes most queries much cheaper when there is much migration |
👍 Another benefit is easier genesis ex-/ import as there is no need to import the history |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
Move history of contract code migrations to their own prefix store. This would reduce the overhead in de-/serialization data for ContractInfo and save gas.
Follow up on #130
For Admin Use
The text was updated successfully, but these errors were encountered: