-
Notifications
You must be signed in to change notification settings - Fork 42
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
Deployment preparation: Protocol Fee Controller (v2) #170
Deployment preparation: Protocol Fee Controller (v2) #170
Conversation
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.
Good job @EndymionJkb !
Just a few comments, otherwise LGTM!
v3/tasks/20250214-v3-protocol-fee-controller-v2/artifact/WeightedPool.json
Outdated
Show resolved
Hide resolved
v3/tasks/20250214-v3-protocol-fee-controller-v2/build-info/WeightedPool.json
Outdated
Show resolved
Hide resolved
v3/tasks/20250214-v3-protocol-fee-controller-v2/test/task.fork.ts
Outdated
Show resolved
Hide resolved
v3/tasks/20250214-v3-protocol-fee-controller-v2/test/task.fork.ts
Outdated
Show resolved
Hide resolved
await feeController.connect(admin).setGlobalProtocolSwapFeePercentage(GLOBAL_SWAP_FEE_PERCENTAGE); | ||
await feeController.connect(admin).setGlobalProtocolYieldFeePercentage(GLOBAL_YIELD_FEE_PERCENTAGE); |
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.
Hm, this is a good point.
Not in scope for this PR, but do you think we should do a script to do the controller upgrade + set these settings all in the same call?
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.
Since they're non-zero and presumably want to be continued, yes that would be more efficient. It could read the previous values and pass them through to the new one, so that we don't need to worry about anything hard-coded changing.
…t need the artifact); move BAL/WETH local; add check for protocol fee values in the pool itself
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.
LGTM!
Deployment preparation: Protocol Fee Controller (v2)
build-info: balancer/balancer-v3-monorepo@0c38dc6 (includes pool registration initial fee events).
Deployment preparation tasks checklist:
README
is updated with the new task name and linkREADME
has a description and links to the artifactsbuild-info
is updated with artifacts compiled at the specified commitbuild-info
Code checklist:
master
, or there's a description of how to mergeIssue Resolution
Resolves #166