Skip to content

Commit 4c7842c

Browse files
committed
fix: compile
1 parent 9f9813b commit 4c7842c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

script/releases/Env.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ library Env {
8080
return _string("ZEUS_ENV");
8181
}
8282

83-
function version() internal view returns (string memory) {
83+
function envVersion() internal view returns (string memory) {
8484
return _string("ZEUS_ENV_VERSION");
8585
}
8686

script/releases/v1.6.0-destination-governance-mainnet/1-deployGovernance.s.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ contract DeployGovernance is EOADeployer {
3737
return;
3838
}
3939

40-
require(Env._strEq(Env.version(), Env.deployVersion()), "must deploy to the same version as the env");
40+
require(Env._strEq(Env.envVersion(), Env.deployVersion()), "must deploy to the same version as the env");
4141

4242
runAsEOA();
4343

script/releases/v1.6.0-destination-governance-testnet/1-deployGovernance.s.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ contract DeployGovernance is EOADeployer {
3434
return;
3535
}
3636

37-
require(Env._strEq(Env.version(), Env.deployVersion()), "must deploy to the same version as the env");
37+
require(Env._strEq(Env.envVersion(), Env.deployVersion()), "must deploy to the same version as the env");
3838

3939
runAsEOA();
4040

0 commit comments

Comments
 (0)