node icon indicating copy to clipboard operation
node copied to clipboard

`zetacore` : Add import data to the e2e test

Open kingpinXD opened this issue 1 year ago • 4 comments

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

kingpinXD avatar Apr 23 '24 14:04 kingpinXD

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

kingpinXD avatar Apr 23 '24 14:04 kingpinXD

@kingpinXD v16 you mean?

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

lumtis avatar Apr 23 '24 20:04 lumtis

Not sure, the v15 upgrade handler already adds the two modules https://github.com/zeta-chain/node/blob/93c12e0d5fe88f7a883b6f33e6edc8402add8334/app/setup_handlers.go#L31-L34

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

kingpinXD avatar Apr 24 '24 05:04 kingpinXD

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

lumtis avatar Apr 24 '24 12:04 lumtis