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: Fraxtal root gauge factory #117

Merged
merged 5 commits into from
Jun 1, 2024

Conversation

jubeira
Copy link
Contributor

@jubeira jubeira commented May 23, 2024

Deployment preparation: FraxtalRootGaugeFactory

Build-info: balancer/balancer-v2-monorepo@281e98f.
The code is very similar to the Optimism Root Gauge; it just adds a network tag to identify the target L2.

The fork test is a mix between 'modern' gauge tests (Avax, Base) which use LZ-based gauges with the Optimism Root Gauge Factory test. The setup is the latest (i.e. it creates a synthetic veBAL whale) and all the cooldowns and periods are fixed, and it checks the Optimism bridge events (which are the same in OP and Fraxtal).

About the inputs: L1 token bridge and Fraxtal BAL addresses naturally differ between OP and Fraxtal. Besides that, the initial gas limit also differs: the one in this task was taken from a test TX.

Deposit TX sample: https://etherscan.io/tx/0xbbff35c8add8d11f2fac562731ec9dab58582c3a14b64580d01b8c757fc976bd
Recipient TX: https://fraxscan.com/tx/0x6b27d68f24275892a22c0a53d2de40cd4610c465b7c1233dc917580c0a855fc9

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

Deprecating old tasks checklist: N/A

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

N/A

@jubeira jubeira requested a review from EndymionJkb May 29, 2024 16:26
Copy link
Collaborator

@EndymionJkb EndymionJkb left a comment

Choose a reason for hiding this comment

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

See comment on naming. Also, we usually include manual bridge transactions for root gauges, to ensure the events are the same, etc. (e.g., #80)

tasks/20240522-fraxtal-root-gauge-factory/index.ts Outdated Show resolved Hide resolved
@jubeira
Copy link
Contributor Author

jubeira commented May 29, 2024

@EndymionJkb added deposit tx to description (it's also in the inputs script).

EndymionJkb
EndymionJkb previously approved these changes May 29, 2024
@jubeira
Copy link
Contributor Author

jubeira commented May 31, 2024

Updated build info and fork test now with gauge that has network tag. PTAL @EndymionJkb

EndymionJkb
EndymionJkb previously approved these changes May 31, 2024
Copy link
Collaborator

@EndymionJkb EndymionJkb left a comment

Choose a reason for hiding this comment

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

I verified that the build-info matches and tests pass. Looks good! Just some minor docs suggestions.

tasks/20240522-fraxtal-root-gauge-factory/readme.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@EndymionJkb EndymionJkb 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 dab78a6 into master Jun 1, 2024
42 checks passed
@jubeira jubeira deleted the deployment-preparation/fraxtal-root-gauge-factory branch June 1, 2024 01:01
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.

2 participants