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

Add versioning to smart contracts #362

Open
Ramarti opened this issue Nov 15, 2024 · 0 comments
Open

Add versioning to smart contracts #362

Ramarti opened this issue Nov 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Ramarti
Copy link
Contributor

Ramarti commented Nov 15, 2024

Description and context

We need to differentiate which version of the predeploy implementations are deployed in testnets, mainnet, etc.

Suggested solution

interface IVersioned {
    function version() pure returns(string);
}

Definition of done

All upgradeable predeploys are IVersioned, forge tests

@Ramarti Ramarti added the enhancement New feature or request label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant