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 on Optimism Sepolia #88

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open

Deployment on Optimism Sepolia #88

wants to merge 3 commits into from

Conversation

garosan
Copy link
Collaborator

@garosan garosan commented Jan 13, 2025

Main changes:

  • Copied over deployment scripts from Base
  • For deployment testing added a dev wallet of my own to LADAO_MULTISIGS.optimismSepolia
  • WETH addr: 0x4200000000000000000000000000000000000006
  • ORACLE_CONTRACTS:
    • sequencer: "0x4200000000000000000000000000000000000011"
    • pyth: "0x0708325268dF9F66270F1401206434524814508b"
    • ethusd: "0x61Ec26aA57019C486B10502285c5A3D4A4750AD7"

También la única diferencia con el script de Base es que borré reservehouseCbEth y solo dejé el de reservehouseWeth.

@garosan garosan requested a review from 0xdcota January 13, 2025 17:26
@garosan garosan changed the title [WIP] Deployment on Optimism Sepolia Deployment on Optimism Sepolia Jan 13, 2025
scripts/const.js Outdated
@@ -254,6 +262,11 @@ const ORACLE_CONTRACTS = {
pyth: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
ethusd: "0x6bF14CB0A831078629D993FDeBcB182b21A8774C",
},
optimismSepolia: {
sequencer: "0x4200000000000000000000000000000000000011",
Copy link
Member

Choose a reason for hiding this comment

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

I know this may had been confusing but rather than needing the actual contract of the sequencer, what we need is an oracle confirming the "liveliness" of the sequencer in the L2.

Chainlink offers this. Check this section of their docs: L2 sequencer feeds.

Copy link
Member

Choose a reason for hiding this comment

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

I believe the version should match that of base. This is not explicit in the instructions but basically the versions of Polygon, Base and now this deployment should match because the contracts will be the same.

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