Skip to content

Fix broken ERC-7540 production reference links - #6910

Open
sivajisj2 wants to merge 5 commits into
OpenZeppelin:masterfrom
sivajisj2:docs/fix-erc7540-links-6908
Open

sivajisj2 wants to merge 5 commits into
OpenZeppelin:masterfrom
sivajisj2:docs/fix-erc7540-links-6908

Conversation

@sivajisj2

Copy link
Copy Markdown

Fixes #6908

  • Pin the Lagoon source links in the epoch deposit and redeem NatSpec and the ERC-7540 guide to the v0.5.0 tag.
  • Remove the inaccessible MetaVault reference from the admin deposit and redeem NatSpec.

Verified the five changed files on the contribution branch. The issue reports that the tagged Lagoon URL resolves.

This overlaps with #6909, which proposes the same fix.

PR Checklist

  • Tests (skipped because these changes are documentation only)
  • Documentation
  • Changeset entry (documentation-only change)

@sivajisj2
sivajisj2 requested a review from a team as a code owner November 29, 2026 16:18
@openzeppelin-ai-auditor

Copy link
Copy Markdown

OpenZeppelin AI Auditor

Warning

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

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

@changeset-bot

changeset-bot Bot commented Nov 29, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 2d3ce60

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

@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 list MetaVault. The epoch extension comments and the ERC-7540 documentation now link to Lagoon’s v0.5.0 tag instead of its main branch.

Suggested labels: documentation

Change: Other · Severity of issue fixed: Low

Merge Risk: Minimal · up to 2d3ce

This documentation-only change fixes broken reference links and removes an inaccessible reference. There is no runtime impact. The CI changeset check currently fails and needs an (empty) changeset added before merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: fixing broken ERC-7540 production reference links. The changeset pins Lagoon links to the v0.5.0 tag and removes the inaccessible MetaVault reference, so the title mat…
Description check Passed The description states that the Lagoon source links are pinned to the v0.5.0 tag and that the MetaVault reference is removed. It also links the issue, lists the checklist, and notes overlap with anoth…
Linked Issues check Passed [#6908] Issue #6908 has two coding requirements. (1) Lagoon links that point to blob/main/src/v0.5.0/ERC7540.sol return 404. The PR changes the Lagoon link to the v0.5.0 tag in ERC7540EpochDeposit…
Out of Scope Changes check Passed All five changed files contain only documentation-comment or documentation link edits. The summary reports no changes to executable Solidity code and no changes to public or exported declarations. Eac…
Full details: Title check

Explanation

The title names the main change: fixing broken ERC-7540 production reference links. The changeset pins Lagoon links to the v0.5.0 tag and removes the inaccessible MetaVault reference, so the title matches the primary change.

Full details: Description check

Explanation

The description states that the Lagoon source links are pinned to the v0.5.0 tag and that the MetaVault reference is removed. It also links the issue, lists the checklist, and notes overlap with another PR. It describes the changeset directly.

Full details: Linked Issues check

Explanation

[#6908] Issue #6908 has two coding requirements. (1) Lagoon links that point to blob/main/src/v0.5.0/ERC7540.sol return 404. The PR changes the Lagoon link to the v0.5.0 tag in ERC7540EpochDeposit.sol, ERC7540EpochRedeem.sol, and docs/modules/ROOT/pages/erc7540.adoc, as shown in the whole-PR summary (+1/-1 in each file). (2) The MetaVault link returns 404 because the repository is not public. The PR removes the MetaVault reference from ERC7540AdminDeposit.sol and ERC7540AdminRedeem.sol (+1/-2 in each file). The issue allows removal ('could be dropped or pointed elsewhere'). The summary shows Nest (Plume) and Centrifuge references remain in those lists. The issue states that the other GitHub links resolve, so no further link changes are required. Evidence comes from the whole-PR summary (merge base 49b5ab9 to head 2d3ce60). I did not inspect the file contents directly. I did not verify live URL status, which is external to the repository. The result rests on the summary and the issue text.

Full details: Out of Scope Changes check

Explanation

All five changed files contain only documentation-comment or documentation link edits. The summary reports no changes to executable Solidity code and no changes to public or exported declarations. Each change maps to a requirement of #6908: the tag pin in three files and the MetaVault removal in two files. No unrelated changes appear in the summary. The PR description's checklist entries (tests skipped, changeset not added) are process notes and do not add code scope.

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: 0d090a24-ce60-4df5-90f4-0f00c593b6d8
Commits

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

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