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

fix: update deploy script to use correct protocolFeeController #232

Merged
merged 1 commit into from
Feb 7, 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: 1 addition & 3 deletions script/04_DeployCLProtocolFeeController.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ contract DeployCLProtocolFeeControllerScript is BaseScript {
console.log("CLProtocolFeeController contract deployed at ", clProtocolFeeController);

/// @notice set the protocol fee controller for the clPoolManager
IProtocolFees(clPoolManager).setProtocolFeeController(
ProtocolFeeController(getAddressFromConfig("clProtocolFeeController"))
);
IProtocolFees(clPoolManager).setProtocolFeeController(ProtocolFeeController(clProtocolFeeController));

vm.stopBroadcast();
}
Expand Down
4 changes: 1 addition & 3 deletions script/05_DeployBinProtocolFeeController.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ contract DeployBinProtocolFeeControllerScript is BaseScript {
console.log("BinProtocolFeeController contract deployed at ", binProtocolFeeController);

/// @notice set the protocol fee controller for the clPoolManager
IProtocolFees(binPoolManager).setProtocolFeeController(
ProtocolFeeController(getAddressFromConfig("binProtocolFeeController"))
);
IProtocolFees(binPoolManager).setProtocolFeeController(ProtocolFeeController(binProtocolFeeController));

vm.stopBroadcast();
}
Expand Down