Skip to content

Add deployment file for Bridged wOETH Strategy #2496

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

Merged
merged 5 commits into from
Apr 30, 2025

Conversation

shahthepro
Copy link
Collaborator

Code Change Checklist

To be completed before internal review begins:

  • The contract code is complete
  • Executable deployment file
  • Fork tests that test after the deployment file runs
  • Unit tests *if needed
  • The owner has done a full checklist review of the code + tests

Internal review:

  • Two approvals by internal reviewers

Deploy checklist

Two reviewers complete the following checklist:

- [ ] All deployed contracts are listed in the deploy PR's description
- [ ] Deployed contract's verified code (and all dependencies) match the code in master
- [ ] Contract constructors have correct arguments
- [ ] The transactions that interacted with the newly deployed contract match the deploy script.
- [ ] Governance proposal matches the deploy script
- [ ] Smoke tests pass after fork test execution of the governance proposal

Copy link

github-actions bot commented Apr 24, 2025

Warnings
⚠️ 👀 This PR needs at least 2 reviewers

Generated by 🚫 dangerJS against e026067

Copy link

codecov bot commented Apr 24, 2025

Codecov Report

Attention: Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.

Project coverage is 40.89%. Comparing base (9af50b8) to head (e026067).
Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
...ntracts/contracts/oracle/OETHPlumeOracleRouter.sol 0.00% 19 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2496      +/-   ##
==========================================
- Coverage   41.08%   40.89%   -0.19%     
==========================================
  Files         100      101       +1     
  Lines        4688     4707      +19     
  Branches     1237     1242       +5     
==========================================
- Hits         1926     1925       -1     
- Misses       2760     2780      +20     
  Partials        2        2              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@shahthepro shahthepro changed the title [WIP] Add deployment file for Bridged wOETH Strategy Add deployment file for Bridged wOETH Strategy Apr 28, 2025
Copy link
Collaborator

@clement-ux clement-ux left a comment

Choose a reason for hiding this comment

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

  • All deployed contracts are listed in the deploy PR's description
    • OETHPlumeOracleRouter
    • BridgedWOETHStrategyProxy
    • BridgedWOETHStrategy
  • Deployed contract's verified code (and all dependencies) match the code in master
  • Contract constructors have correct arguments
    • OETHPlumeOracleRouter: No constructor
    • BridgedWOETHStrategyProxy: No constructor
    • BridgedWOETHStrategy: [address(0), Vault], WETH, BridgedWOETH, OETH
  • The transactions that interacted with the newly deployed contract match the deploy script.
    • OETHPlumeOracleRouter: Cache decimals
    • BridgedWOETHStrategyProxy: initialize
  • Governance proposal matches the deploy script
  • Smoke tests pass after fork test execution of the governance proposal

feedAddress = FIXED_PRICE;
maxStaleness = 0;
} else if (asset == WOETH) {
// Chainlink: https://data.chain.link/feeds/base/base/woeth-oeth-exchange-rate
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: this should be from plume chain, but not a big deal.

@clement-ux
Copy link
Collaborator

Everything looks good, but I cannot verify:

  • Deployed contract's verified code (and all dependencies) match the code in master
  • Governance proposal matches the deploy script

address constant WOETH = 0xD8724322f44E5c58D7A815F542036fb17DbbF839;
// Ref: https://docs.eo.app/docs/eprice/feed-addresses/plume
address constant WOETH_ORACLE_FEED =
0x4915600Ed7d85De62011433eEf0BD5399f677e9b;
Copy link
Member

Choose a reason for hiding this comment

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

Is this a trustworthy feed? How high is our confidence in this one?

sparrowDom
sparrowDom previously approved these changes Apr 28, 2025
Copy link
Member

@sparrowDom sparrowDom left a comment

Choose a reason for hiding this comment

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

LGTM

@shahthepro shahthepro merged commit f2982b4 into master Apr 30, 2025
14 of 19 checks passed
@shahthepro shahthepro deleted the shah/plume-woeth-strategy branch April 30, 2025 18:00
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.

3 participants