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

zetacore : Add import data to the e2e test #2067

Open
kingpinXD opened this issue Apr 23, 2024 · 4 comments
Open

zetacore : Add import data to the e2e test #2067

kingpinXD opened this issue Apr 23, 2024 · 4 comments
Labels
E2E E2E tests related

Comments

@kingpinXD
Copy link
Contributor

kingpinXD commented Apr 23, 2024

Add an option to the e2etest to use data exported from a mainnet or testnet node.

@kingpinXD
Copy link
Contributor Author

I tried it out on the current mainnet data, and it works as expected.
I will raise a pr after the mainnet is upgraded to v15 , and I am able to run through the test with a v15 export , which adds a new module and so the state export is data is slightly different

@lumtis
Copy link
Member

lumtis commented Apr 23, 2024

@kingpinXD v16 you mean?

which adds a new module
There are 2 modules added authority and lightclient

@kingpinXD
Copy link
Contributor Author

Not sure, the v15 upgrade handler already adds the two modules

if upgradeInfo.Name == releaseVersion && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) {
storeUpgrades := storetypes.StoreUpgrades{
Added: []string{authoritytypes.ModuleName, lightclienttypes.ModuleName},
}

If in case the handler needs to be changed, then yes, it would make sense to to wait till v16

@lumtis
Copy link
Member

lumtis commented Apr 24, 2024

Because the version has not been updated for the new version. We need to set v16 in the v16.0.0-rc branch

@lumtis lumtis added the E2E E2E tests related label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E2E E2E tests related
Projects
None yet
Development

No branches or pull requests

2 participants