You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the current commit version and the update height do not match when starting the node, then there will be no update of the store?
Do I need to launch the application before the block that has a planned update?
julienrbrt
changed the title
[Bug]: I don't understand how to update the store through migrations
I don't understand how to update the store through migrations
Sep 10, 2024
If the current commit version and the update height do not match when starting the node, then there will be no update of the store? Do I need to launch the application before the block that has a planned update?
correct if you stop and start the node with the updated binary the node will not be able to start. If you would like to run migrations the module itself needs to specify the migration and in the module.go it will register the migrations that need to be run at the upgrade height.
Ill close this issue for now, but please ask further questions if you need
@tac0turtle I mean, migrations for the store are not checked in the preblock upgrade of the module and are launched at the start of the node
The condition is that the launch should start at a height determined by a height in plan, so immediately upon node startup, it should start at the height of the plan block.
Is there an existing issue for this?
What happened?
If the current commit version and the update height do not match when starting the node, then there will be no update of the store?
Do I need to launch the application before the block that has a planned update?
cosmos-sdk/simapp/upgrades.go
Line 56 in 3c9fa96
cosmos-sdk/x/upgrade/types/storeloader.go
Line 14 in 3c9fa96
Cosmos SDK Version
0.50.x
How to reproduce?
No response
The text was updated successfully, but these errors were encountered: