-
Notifications
You must be signed in to change notification settings - Fork 3
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
Merge SPC into SSC #16
base: main
Are you sure you want to change the base?
Conversation
types.RegisterQueryServer(cfg.QueryServer(), am.keeper) | ||
|
||
m := keeper.NewMigrator(am.keeper, am.legacySubspace) | ||
err := cfg.RegisterMigration(types.ModuleName, 1, m.Migrate1to2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should not be any migrations yet. Maybe just leave one of them (1to2) and commented out.
} | ||
|
||
// ConsensusVersion is a sequence number for state-breaking change of the module. It should be incremented on each consensus-breaking change introduced by the module. To avoid wrong/empty versions, the initial version should be set to 1 | ||
func (AppModule) ConsensusVersion() uint64 { return 3 } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be 1 in all the added modules from SPC.
@@ -0,0 +1,164 @@ | |||
package chainlet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both migrations packages should also be removed.
This PR migrates the SPC code into SSC including components concerned with cross chain validation (CCV).
It has been tested in a local dev environment using a single validator
SSCD
and a single validatorsagaosd
connected using ago relayer
.For local testing, please ping me.