[DO NOT MERGE] OUSD V3 Testnet #2923
Draft
shahthepro wants to merge 9 commits into
Draft
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## shah/ousd-v3 #2923 +/- ##
=============================================
Coverage 50.30% 50.30%
=============================================
Files 124 124
Lines 5769 5769
Branches 1623 1623
=============================================
Hits 2902 2902
Misses 2863 2863
Partials 4 4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
V3 Testnet - Deployed Contracts + Smoke Test Reference
OUSD V3 (USDC + CCTP V2)
Base Sepolia (Master side)
0x271F…BbA20x9544…9CBe0x0C65…777c0x4A75…AAAb0xf230…b5870x5844…3b93Sepolia (Remote side)
0x271F…BbA20x8aF4…123b0xCaED…0a640xbc80…C75b0x2788…C4990xf230…b5870xf2d0…3104OETHb V3 (CCIP-BnM + Superbridge)
Base Sepolia (Master side)
0xB963…EA740x4ABA…0E060x80c8…f8350x8aF4…123b0x73B3…57040xfEDE…2A8FSepolia (Remote side)
0xB963…EA740x0030…b16a0x1C62…2be90x6D96…E3f30x02f2…f8d60x73B3…57040xfEDE…2A8FStrategy proxies + adapter proxies are at identical addresses on both chains (CREATE3 peer parity).
OUSD V3 Smoke Test — Tx Hashes (7 cases)
Format: source-side tx → relay tx on destination → return-leg relay (where applicable).
0xa7f6…1e1d(Base)0x339f…0ba85(Sep)0x46e4…07d5f(Base)0xb0d4…a4eef(Base)0x73f1…43d98(Sep)0xa0a1…02aaf(Base)0xffd9…9b1d5(Base)0xcdef…17be5(Sep)0x9f1f…d2443(Base)0xb326…6f419(Base)0x89a5…cd9e7(Sep)0x9d08…bd12f(Base)0x49ff…fa6d4(Base)0xc0e8…81843(Sep)0xf754…0044(Sep)0xe76b…9c10(Base)0xf9a3…e9868(Base)0xeb4b…b843c(Sep)0x6940…cde7(Base)Setup for Case 5 (re-deposit to back the bridge-out):
0xb00b…4bc90(deposit, Base) →0x8dbc…a0847(relay, Sep) →0x480f…87c5(ack, Base)Scripts — how to run
All operator commands are Hardhat tasks namespaced
tn:*(OETHb) andtn:ousd:*(OUSD). Pass--network sepoliaor--network baseSepolia. Tasks live incontracts/tasks/testnet-v3.jsandcontracts/tasks/testnet-v3-ousd.js.tn[:ousd]:statustn:get-bnm --amount Ntn[:ousd]:fund-master --amount Ntn[:ousd]:fund-pool --amount Ntn[:ousd]:deposit --amount Ntn[:ousd]:withdraw --amount Ntn[:ousd]:trigger-claimtn[:ousd]:claim-withdrawtn[:ousd]:balance-checkremoteStrategyBalancetn[:ousd]:settlebridgeAdjustmentintoremoteStrategyBalancetn[:ousd]:mint-ousdb/tn:mint-oethbtn[:ousd]:bridge-out --amount Ntn:ousd:cctp-relay --tx <hash>CCTPAdapter.relay(msg, att)on the destination chain. Required on every cross-chain hop.OETHb flow — fire-and-wait (CCIP auto-delivers):
tn:deposit --network baseSepoliathentn:status --network sepoliaafter ~25-45 min.OUSD flow — every cross-chain hop is manual: fire the source task, grab its tx hash, run
tn:ousd:cctp-relay --tx <hash> --network <dest>, grab the destination tx, repeat for the return leg.Re-deploy scripts under
contracts/deploy/baseSepolia/andcontracts/deploy/sepolia/(001–006for OETHb,010–013for OUSD). Run withpnpm deploy:base-sepolia/pnpm deploy:sepolia.