Skip to content

Fix broken production links in ERC-7540 NatSpec and docs - #6909

Open
syk808 wants to merge 1 commit into
OpenZeppelin:masterfrom
syk808:docs/fix-erc7540-broken-links
Open

syk808 wants to merge 1 commit into
OpenZeppelin:masterfrom
syk808:docs/fix-erc7540-broken-links

Conversation

@syk808

@syk808 syk808 commented Nov 29, 2026

Copy link
Copy Markdown

Fixes #6908

Updates the two broken "Production equivalents" links in the ERC-7540 extension NatSpec and documentation:

  • Lagoon (hopperlabsxyz/lagoon-v0): Pin the link in ERC7540EpochDeposit.sol, ERC7540EpochRedeem.sol, and docs/modules/ROOT/pages/erc7540.adoc to tag v0.5.0 (https://github.com/hopperlabsxyz/lagoon-v0/blob/v0.5.0/src/v0.5.0/ERC7540.sol, verified HTTP 200), since main no longer contains src/v0.5.0.
  • MetaVault (turingcapitalgroup/metaVault): Remove the dead link from ERC7540AdminDeposit.sol and ERC7540AdminRedeem.sol, as the repository is no longer publicly accessible (HTTP 404).

PR Checklist

  • Tests (N/A — comments and documentation only)
  • Documentation
  • Changeset entry (N/A — comments and documentation only)

@syk808
syk808 requested a review from a team as a code owner November 29, 2026 05:33
@changeset-bot

changeset-bot Bot commented Nov 29, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 1792965

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@openzeppelin-ai-auditor

Copy link
Copy Markdown

OpenZeppelin AI Auditor

Warning

Review skipped for commit 1792965: Pull requests from forks are not supported yet.

ℹ️ Review info
  • Project: Openzeppelin Contracts
  • Commit: 1792965 (base 49b5ab9 on master)
  • Changed lines: 12 across 5 files
  • Trigger: pull request opened

@coderabbitai

coderabbitai Bot commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The ERC-7540 admin extension comments no longer include the MetaVault link, and the deposit comment updates its list punctuation. The epoch deposit and redeem comments, and the ERC-7540 documentation page, now link to Lagoon’s v0.5.0 tag instead of main.

Suggested labels: documentation

Change: Other · Severity of issue fixed: Low

Merge Risk: Minimal · up to 17929

This PR updates documentation links and removes an inaccessible one. It does not change contract behavior, and merge risk is minimal. The changeset CI check may need an empty changeset or maintainer handling.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: fixing broken production-equivalent links in ERC-7540 NatSpec and docs. The changeset pins the Lagoon links to tag v0.5.0 and removes the MetaVault links in the ERC-75…
Description check Passed The description states the purpose (fixing the two broken Production equivalents links, Lagoon and MetaVault), lists the affected files, and links the issue. It matches the changeset, which pins Lagoo…
Linked Issues check Passed Issue #6908 has two coding objectives, both comment and documentation changes.

1. Lagoon link [#6908]: The reviewed head pins the Lagoon link to the v0.5.0 tag in ERC7540EpochDeposit.sol, `ERC754…
Out of Scope Changes check Passed All changed files are in the ERC-7540 NatSpec comments or erc7540.adoc. Each change maps to a link fix in #6908.

The diff for ERC7540AdminDeposit.sol also changes the Nest (Plume) list entry. The…
Full details: Title check

Explanation

The title names the main change: fixing broken production-equivalent links in ERC-7540 NatSpec and docs. The changeset pins the Lagoon links to tag v0.5.0 and removes the MetaVault links in the ERC-7540 extension files and the erc7540 doc page, so the title matches the changeset.

Full details: Description check

Explanation

The description states the purpose (fixing the two broken Production equivalents links, Lagoon and MetaVault), lists the affected files, and links the issue. It matches the changeset, which pins Lagoon links to v0.5.0 and removes MetaVault links.

Full details: Linked Issues check

Explanation

Issue #6908 has two coding objectives, both comment and documentation changes.

  1. Lagoon link [#6908]: The reviewed head pins the Lagoon link to the v0.5.0 tag in ERC7540EpochDeposit.sol, ERC7540EpochRedeem.sol, and docs/modules/ROOT/pages/erc7540.adoc. The link changes from blob/main/src/v0.5.0/ERC7540.sol to blob/v0.5.0/src/v0.5.0/ERC7540.sol. This matches the issue's requested fix. The HTTP 200 result is reported by the PR author and the issue. I did not re-run the request.

  2. MetaVault link [#6908]: The reviewed head removes the MetaVault link from ERC7540AdminDeposit.sol and ERC7540AdminRedeem.sol. The issue allows dropping the link when no public replacement exists. The PR description states that no public replacement exists.

The other GitHub links in these files resolve, per the issue. No other linked-issue requirement is coding work. No test changes are required, because the issue asks for link corrections only.

Full details: Out of Scope Changes check

Explanation

All changed files are in the ERC-7540 NatSpec comments or erc7540.adoc. Each change maps to a link fix in #6908.

The diff for ERC7540AdminDeposit.sol also changes the Nest (Plume) list entry. The entry now ends with , and instead of ,. This is a required punctuation edit, because the MetaVault entry was removed and the list must still end correctly before Centrifuge. It is part of the same link cleanup.

No Solidity behavior changes appear in the summary. No unrelated files are changed.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
Fix failing CI checks

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e8a66e35-9630-46d7-87e6-51f9d71248a8
Commits

Reviewing files that changed from the base of the PR and between 49b5ab9 and 1792965.

Files selected for processing: 5

  • contracts/token/ERC20/extensions/ERC7540AdminDeposit.sol
  • contracts/token/ERC20/extensions/ERC7540AdminRedeem.sol
  • contracts/token/ERC20/extensions/ERC7540EpochDeposit.sol
  • contracts/token/ERC20/extensions/ERC7540EpochRedeem.sol
  • docs/modules/ROOT/pages/erc7540.adoc

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@github-actions

Copy link
Copy Markdown
Contributor
view gas comparison

Changes to gas costs

Contract Method Min (+/-) % Max (+/-) % Median (+/-) % Avg (+/-) %
$ERC7540SyncRedeemMock [constructor] - - - - - - - - - 17710019 +12 +0.00% ❌

This branch has not been deployed

No deployments
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.

Broken production links in ERC-7540 extension NatSpec

1 participant