Skip to content

chore(deploy): add LayerSwapFacet v1.0.0 on robinhood (EXSC-718) - #2146

Open
0xDEnYO wants to merge 3 commits into
mainfrom
feature/exsc-718-deploy-layerswapfacet-v100-to-robinhood
Open

chore(deploy): add LayerSwapFacet v1.0.0 on robinhood (EXSC-718)#2146
0xDEnYO wants to merge 3 commits into
mainfrom
feature/exsc-718-deploy-layerswapfacet-v100-to-robinhood

Conversation

@0xDEnYO

@0xDEnYO 0xDEnYO commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Which Linear task belongs to this PR?

Fixes EXSC-718
Ref EXP-622

Why did I implement it this way?

Production deploy of LayerSwapFacet v1.0.0 to robinhood (new network for this facet): added the LayerSwap depository config entry, registered the facet in target state, and recorded the CREATE3 address. The diamondCut is a pending timelock-wrapped Safe proposal (nonce 23); production robinhood.diamond.json updates only when the cut executes.

Chain Contract address Safe nonce
robinhood 0x88545564793A470B511CC3E7e225a459bA29D291 23

Checklist before requesting a review

Checklist for reviewer (DO NOT DEPLOY and contracts BEFORE CHECKING THIS!!!)

  • I have checked that any arbitrary calls to external contracts are validated and or restricted
  • I have checked that any privileged calls (i.e. storage modifications) are validated and or restricted
  • I have ensured that any new contracts have had AT A MINIMUM 1 preliminary audit conducted on by <company/auditor>

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 0816eb02-0979-494f-9254-6036f27bf296

📥 Commits

Reviewing files that changed from the base of the PR and between 76428c6 and 6fc05c0.

📒 Files selected for processing (3)
  • config/layerswap.json
  • deployments/robinhood.json
  • script/deploy/_targetState.json
💤 Files with no reviewable changes (2)
  • config/layerswap.json
  • script/deploy/_targetState.json

Walkthrough

Robinhood configuration and deployment records register LayerSwap, add the LayerSwapFacet at version 1.0.0, configure ReceiverOIF and OutputValidator addresses, and remove obsolete target-state network entries.

Changes

Robinhood LayerSwap integration

Layer / File(s) Summary
LayerSwap network registration
config/layerswap.json, script/deploy/_targetState.json
Adds Robinhood’s LayerSwap depository and production LayerSwapFacet version, while removing obsolete network target entries.
Deployment manifests
deployments/robinhood.diamond.json, deployments/robinhood.json
Adds the LayerSwapFacet deployment, sets the ReceiverOIF address, and adds an OutputValidator address.

Estimated code review effort: 2 (Simple) | ~5 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly states the main change: adding LayerSwapFacet v1.0.0 to robinhood.
Description check ✅ Passed The description follows the template and includes the Linear task, rationale, and review checklists.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Fix failing CI checks
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/exsc-718-deploy-layerswapfacet-v100-to-robinhood

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

…ration (EXSC-718)

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@melianessa
melianessa marked this pull request as ready for review July 29, 2026 11:09
melianessa
melianessa previously approved these changes Jul 29, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@deployments/robinhood.diamond.json`:
- Around line 83-86: Remove the LayerSwapFacet registration for
0x88545564793A470B511CC3E7e225a459bA29D291 from the production diamond snapshot,
leaving it only in the pending deployment target state until governance proposal
nonce 23 executes. Resync the snapshot after the Safe/timelock cut is confirmed
on-chain.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: e0c8e831-a370-469c-9a11-355ca09ae382

📥 Commits

Reviewing files that changed from the base of the PR and between ffdd9f1 and 76428c6.

📒 Files selected for processing (4)
  • config/layerswap.json
  • deployments/robinhood.diamond.json
  • deployments/robinhood.json
  • script/deploy/_targetState.json

Comment thread deployments/robinhood.diamond.json
@lifi-qa-agent

lifi-qa-agent Bot commented Jul 29, 2026

Copy link
Copy Markdown

🔍 QA Review — EXSC-718 — PR #2146

Ticket: EXSC-718 — Deploy LayerSwapFacet v1.0.0 to Robinhood + Safe proposal
PR: #2146 — chore(deploy): add LayerSwapFacet v1.0.0 on robinhood (EXSC-718)
Review type: 🔁 Post-approval re-review (Run #27)
Reviewer: lifi-qa-agent[bot] | Date: 2026-07-30

⚠️ New commit pushed after Run #26 approval — analysing post-approval changes only. The Run #26 analysis (LayerSwapFacet v1.0.0 deployment on Robinhood, governance executed) remains valid. This review covers only the one new commit.


Post-Approval Commit Reviewed

Commit Date Description
6fc05c0ca146 2026-07-29T23:54:40Z chore(deploy): merge main into LayerSwapFacet robinhood PR

Analysis

This is a pure merge-from-main commit that brings the latest main changes into the feature branch. It contains zero EXSC-718-specific code changes.

Files changed in the merge commit:

File Change Origin
config/garden.json Remove botanix entry Main — network deprecation
config/gaszip.json Remove botanix entry Main — network deprecation
config/glacis.json Remove sophon entry Main — network deprecation
config/layerswap.json Remove sophon + superposition entries Main — network deprecation
config/networks.json Remove botanix network definition Main — network deprecation
config/permit2Proxy.json Remove botanix entry Main — network deprecation
config/relay.json Remove superposition + swellchain entries Main — network deprecation
config/stargateV2.json Remove botanix entry Main — network deprecation
config/symbiosis.json Remove taiko entry Main — network deprecation
config/whitelist.json Remove taiko entries (466 lines) Main — network deprecation
deployments/botanix.diamond.json Removed Main — network deprecation
deployments/botanix.json Removed Main — network deprecation
deployments/sophon.diamond.json Removed Main — network deprecation
deployments/sophon.json Removed Main — network deprecation
deployments/superposition.diamond.json Removed Main — network deprecation
deployments/superposition.json Removed Main — network deprecation
deployments/swellchain.diamond.json Removed Main — network deprecation
deployments/swellchain.json Removed Main — network deprecation
deployments/taiko.diamond.json Removed Main — network deprecation
deployments/taiko.json Removed Main — network deprecation
deployments/robinhood.json +2, -1 — formatting/newline fix on LayerSwapFacet entry Merge conflict resolution — LayerSwapFacet address 0x88545564793A470B511CC3E7e225a459bA29D291 unchanged ✅
deployments/zksync.json +1 — adds CBridgeFacet entry Main — completed unrelated deployment
deployments/_deployments_log_file.json +15 — adds zksync v1.0.0 entry Main — deployment log update
bun.lock + package.json socks@2.8.9 override added Main — CVE-2026-42338 patch (EXSC-717, already reviewed)
foundry.toml Remove botanix RPC entry Main — network deprecation
script/deploy/_targetState.json Remove swellchain target state Main — network deprecation
script/deploy/healthCheckInvariants.ts Remove botanix from CORE_FACET_EXEMPTIONS Main — network deprecation
src/Facets/AcrossV4SwapFacet.sol +2 comment lines: Taiko deprecation notice Main — documentation comment

EXSC-718 deployment integrity check:

  • deployments/robinhood.json: LayerSwapFacet entry 0x88545564793A470B511CC3E7e225a459bA29D291 is unchanged — matches the deployed address reviewed in Run chore: deprecated XChainExecFacet #26.
  • config/layerswap.json: sophon and superposition entries removed (network deprecations from main) — does not affect Robinhood deployment.
  • No _targetState.json changes for robinhood — target state is intact.
  • AuditNotRequired label correct (no contract code changes).

src/Facets/AcrossV4SwapFacet.sol: +2 comment lines only — a Taiko deprecation notice comment added inside a _getLzEid helper. No logic change. ✅


✅ Verdict: Pass (Post-Approval Re-Review)

The post-approval commit is a routine main sync. All changes are from main and were already reviewed in their respective PRs/runs. The EXSC-718 deployment (LayerSwapFacet v1.0.0 on Robinhood) is unchanged. The Robinhood deployment JSON retains the correct contract address.

QA re-review by lifi-qa-agent[bot] — Run #27 · 2026-07-30

lifi-qa-agent[bot]
lifi-qa-agent Bot previously approved these changes Jul 29, 2026

@lifi-qa-agent lifi-qa-agent Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ QA approved. LayerSwapFacet v1.0.0 deployment on Robinhood is correctly configured: depository address consistent with all other chains, targetState updated, governance execution confirmed. (lifi-qa-agent Run #26)

Co-authored-by: Cursor <cursoragent@cursor.com>
@0xDEnYO
0xDEnYO dismissed stale reviews from lifi-qa-agent[bot] and melianessa via 6fc05c0 July 29, 2026 23:55
@0xDEnYO
0xDEnYO enabled auto-merge (squash) July 30, 2026 00:20

@lifi-qa-agent lifi-qa-agent Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ QA approved (Run #27, post-approval re-review). Merge-from-main sync commit brings only network deprecations and CVE patch from main. LayerSwapFacet deployment files unchanged. (lifi-qa-agent[bot])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants