Skip to content

feat: mainnet upgrade scripts #1257

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

Merged
merged 4 commits into from
Apr 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/configs/typos-cli.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ extend-exclude = [
"**/lib/**",
"**/docs/images/**",
# Not present locally, but is in remote (github).
"**/doc/**"
"**/doc/**",
"**/*.mod",
"**/*.sum"
]
ignore-hidden = true
ignore-files = true
Expand Down
11 changes: 11 additions & 0 deletions script/releases/Env.sol
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,17 @@ library Env {
DeployedImpl internal constant impl = DeployedImpl.A;
DeployedInstance internal constant instance = DeployedInstance.A;

/*
* If there is an inProgress deploy, these will be set to the relevant semver strings.
*/
function deployFromVersion() internal view returns (string memory) {
return ZEnvHelpers.inProgressDeployFromSemver();
}

function deployToVersion() internal view returns (string memory) {
return ZEnvHelpers.inProgressDeployToSemver();
}

/**
* env
*/
Expand Down
Loading
Loading