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

e2e : contract upgrades test #3630

Open
kingpinXD opened this issue Mar 4, 2025 · 1 comment
Open

e2e : contract upgrades test #3630

kingpinXD opened this issue Mar 4, 2025 · 1 comment
Labels
E2E E2E tests related

Comments

@kingpinXD
Copy link
Contributor

We currently test upgrade for contracts in the e2e , evm, and solana. These tests however use the same version of contracts as both before and after the upgrade ,

We should add a separate test that upgrades the contract to the newer version and tests it. It should also do necessary assertions to verify the new contract works and the state migration was correct

This can be run before contract upgrades on mainnet

@kingpinXD kingpinXD added the E2E E2E tests related label Mar 4, 2025
@lumtis
Copy link
Member

lumtis commented Mar 5, 2025

For EVM it depends what version the previous node binary was using. If the node binary was using the same version, I don't think there is any reason to artificially represent an older version, as itwould not reproduce the real world

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