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

Deployment preparation: Protocol Fee Controller (v2) #170

Merged
merged 9 commits into from
Feb 12, 2025

Conversation

EndymionJkb
Copy link
Collaborator

Deployment preparation: Protocol Fee Controller (v2)

build-info: balancer/balancer-v3-monorepo@0c38dc6 (includes pool registration initial fee events).

Deployment preparation tasks checklist:

  • Deployments README is updated with the new task name and link
  • Task README has a description and links to the artifacts
  • build-info is updated with artifacts compiled at the specified commit
  • Artifacts are generated from build-info
  • New task has a working fork test

Code checklist:

  • The diff is legible and has no extraneous changes
  • Complex code has been commented in tests and scripts
  • Fork test block number and test cases are appropriate for this deployment
  • The base branch is either master, or there's a description of how to merge

Issue Resolution

Resolves #166

Copy link
Contributor

@jubeira jubeira left a 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/input.ts Outdated Show resolved Hide resolved
v3/tasks/20250214-v3-protocol-fee-controller-v2/readme.md Outdated Show resolved Hide resolved
v3/tasks/20250214-v3-protocol-fee-controller-v2/readme.md Outdated Show resolved Hide resolved
Comment on lines +123 to +124
await feeController.connect(admin).setGlobalProtocolSwapFeePercentage(GLOBAL_SWAP_FEE_PERCENTAGE);
await feeController.connect(admin).setGlobalProtocolYieldFeePercentage(GLOBAL_YIELD_FEE_PERCENTAGE);
Copy link
Contributor

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?

Copy link
Collaborator Author

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.

jubeira
jubeira previously approved these changes Feb 12, 2025
Copy link
Contributor

@jubeira jubeira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jubeira jubeira merged commit d35f762 into master Feb 12, 2025
42 checks passed
@jubeira jubeira deleted the deployment-preparation/protocol-fee-controller-v2 branch February 12, 2025 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prepare / deploy ProtocolFeeController V2
2 participants