Skip to content

Commit

Permalink
feat: finalize is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtekgrinder committed Jun 13, 2024
1 parent fe188ad commit fcf0901
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/DeployAgTokenSideChainMultiBridge.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ contract DeployAgTokenSideChainMultiBridge is Script, CommonUtils {
}

// add real governor
if (vm.envBool("FINALIZE")) {
if (vm.envOr("FINALIZE", false)) {
ICoreBorrow(coreBorrow).removeGovernor(deployer);
}
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/DeployAngleSideChainMultiBridge.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ contract DeployAngleSideChainMultiBridge is Script, CommonUtils {
}

// add real governor
if (vm.envBool("FINALIZE")) {
if (vm.envOr("FINALIZE", false)) {
ICoreBorrow(coreBorrow).removeGovernor(deployer);
}
}
Expand Down

0 comments on commit fcf0901

Please sign in to comment.