Skip to content

Commit

Permalink
chore: Uncomment governance constants in deployment manifest
Browse files Browse the repository at this point in the history
Also, uncomment Curve pool and change manifest function name.
  • Loading branch information
bingen committed Dec 19, 2024
1 parent 44b4184 commit 984ad7f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contracts/script/DeployGovernance.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ contract DeployGovernance is Script, Deployers {

governance.registerInitialInitiatives{gas: 600000}(initialInitiatives);

return (governanceAddress, _getManifestJson());
return (governanceAddress, _getGovernanceManifestJson(_curvePoolAddress));
}

function computeGovernanceAddress(
Expand Down Expand Up @@ -226,15 +226,15 @@ contract DeployGovernance is Script, Deployers {
);
}

function _getManifestJson() internal view returns (string memory) {
function _getGovernanceManifestJson(address _curvePoolAddress) internal view returns (string memory) {
return string.concat(
"{",
string.concat(
//string.concat('"constants":', _getGovernanceDeploymentConstants(), ","),
string.concat('"constants":', _getGovernanceDeploymentConstants(), ","),
string.concat('"governance":"', address(governance).toHexString(), '",'),
string.concat('"uniV4DonationsInitiative":"', address(uniV4Donations).toHexString(), '",'),
string.concat('"curveV2GaugeRewardsInitiative":"', address(curveV2GaugeRewards).toHexString(), '",'),
//string.concat('"curvePool":"', address(curvePool).toHexString(), '",'),
string.concat('"curvePool":"', _curvePoolAddress.toHexString(), '",'),
string.concat('"gauge":"', address(gauge).toHexString(), '",'),
string.concat('"LQTYToken":"', lqty.toHexString(), '" ') // no comma
),
Expand Down

0 comments on commit 984ad7f

Please sign in to comment.