Skip to content
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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Merge SPC into SSC #16

wants to merge 2 commits into from

Conversation

ashishchandr70
Copy link

@ashishchandr70 ashishchandr70 commented Jul 3, 2024

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 validator sagaosd connected using a go relayer.

For local testing, please ping me.

types.RegisterQueryServer(cfg.QueryServer(), am.keeper)

m := keeper.NewMigrator(am.keeper, am.legacySubspace)
err := cfg.RegisterMigration(types.ModuleName, 1, m.Migrate1to2)
Copy link
Contributor

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 }
Copy link
Contributor

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants