-
Notifications
You must be signed in to change notification settings - Fork 48
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
deploy: redeploy all the contracts #231
Conversation
83f4725
to
7cd2f04
Compare
| File | % Lines | % Statements | % Branches | % Funcs | |
7cd2f04
to
8c6d6f6
Compare
@chef-omelette @ChefMist @ChefSnoopy Feel free to leave any comments, will handle them in separate PR |
contract SetProtocolFeeControllerForCLPoolScript is BaseScript { | ||
function run() public { | ||
// @dev this should be the private key of the poolManager owner instead of the deployer | ||
uint256 ownerPrivateKey = vm.envUint("POOL_OWNER_PRIVATE_KEY"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we cant assume this is available when deploy contract as most likely this will be pcs multisig wallet
While deploying the contracts, found following issue:
Also the same issue happened when i tried to register protocolFeeController to cl/binPoolManager as cl/binPoolManager's owner already the poolOwner instead of our deployer address
So i've made following change: