Skip to content

docs: discourage multiple attachments with the same scheme#2992

Merged
mmagician merged 1 commit into
nextfrom
mmagician-claude/docs-attachment-same-scheme
May 28, 2026
Merged

docs: discourage multiple attachments with the same scheme#2992
mmagician merged 1 commit into
nextfrom
mmagician-claude/docs-attachment-same-scheme

Conversation

@mmagician
Copy link
Copy Markdown
Collaborator

@mmagician mmagician commented May 27, 2026

Summary

The protocol intentionally does not prevent adding multiple attachments with the same scheme to a note. With this PR, we adjust the docs to discourage this.

No behavior changes.

Closes #2873

🤖 Generated with Claude Code

The protocol does not prevent adding multiple attachments with the same
scheme to a note (e.g. two NetworkAccountTarget attachments). Document
that doing so is discouraged as it brings no additional benefit and only
increases public on-chain data and fees, and clarify in the rustdoc that
the first matching attachment is treated as the canonical one.

Closes #2873
@mmagician mmagician added the no changelog This PR does not require an entry in the `CHANGELOG.md` file label May 27, 2026
@mmagician mmagician marked this pull request as ready for review May 27, 2026 14:00
@mmagician mmagician added blocked Something prevents working on this documentation Improvements or additions to documentation and removed blocked Something prevents working on this labels May 27, 2026
Copy link
Copy Markdown
Contributor

@PhilippGackstatter PhilippGackstatter left a comment

Choose a reason for hiding this comment

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

Thanks!

@mmagician mmagician added this pull request to the merge queue May 28, 2026
Merged via the queue into next with commit 73243a3 May 28, 2026
24 of 25 checks passed
@mmagician mmagician deleted the mmagician-claude/docs-attachment-same-scheme branch May 28, 2026 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation no changelog This PR does not require an entry in the `CHANGELOG.md` file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Attachment with same scheme can be added multiple times

3 participants