Skip to content

Standardize crosschain terminology (#831) - #840

Merged
ericglau merged 5 commits into
OpenZeppelin:masterfrom
Mary-yumm:fix-crosschain-terminology
Aug 7, 2026
Merged

ericglau merged 5 commits into
OpenZeppelin:masterfrom
Mary-yumm:fix-crosschain-terminology

Conversation

@Mary-yumm

Copy link
Copy Markdown
Contributor

Closes #831
Renames cross-chain → crosschain in user-facing text (tooltips, help text, section labels) across the ERC20/ERC721/ERC1155/Governor controls, plus the AI descriptions in packages/common/src/ai/descriptions/solidity.ts, matching the predominant usage in OpenZeppelin Contracts.

API option keys (crossChainBridging, crossChainExecution, crossChainLinkAllowOverride) are left unchanged, as specified in the issue, since renaming them would be a breaking change.

Changes:

  • Updated tooltip/label text in ERC20Controls.svelte, ERC721Controls.svelte, ERC1155Controls.svelte, GovernorControls.svelte, RealWorldAssetControls.svelte, StablecoinControls.svelte
  • Updated crosschain-incremental-tooltip.ts
  • Updated AI descriptions in packages/common/src/ai/descriptions/solidity.ts
  • Updated erc20.ts description string and corresponding test/snapshot (erc20.test.ts, cli.test.ts.md)
  • Added changeset covering @openzeppelin/wizard-common, @openzeppelin/wizard, ui, and @openzeppelin/contracts-mcp

@Mary-yumm
Mary-yumm requested review from a team as code owners August 7, 2026 02:48
@github-actions

github-actions Bot commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@coderabbitai

coderabbitai Bot commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: d927d374-172d-4e62-980d-d00faa5c7015

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Walkthrough

This change standardizes user-facing “cross-chain” text to “crosschain” across AI descriptions, Solidity controls, validation messages, CLI help snapshots, and release metadata. Existing crosschain API option keys remain unchanged.

Changes

Crosschain terminology

Layer / File(s) Summary
Descriptions and validation text
packages/common/src/ai/descriptions/solidity.ts, packages/core/solidity/src/erc20.ts, packages/core/solidity/src/erc20.test.ts
AI descriptions and the ERC-20 premint validation message now use “crosschain” wording.
UI control terminology
packages/ui/src/solidity/*.svelte, packages/ui/src/solidity/crosschain-incremental-tooltip.ts
Control labels, help text, comments, and tooltip text now use “Crosschain” terminology. Bindings and defaults remain unchanged.
CLI snapshots and release metadata
packages/cli/src/cli.test.ts.md, .changeset/standardize-crosschain-terminology.md
CLI help snapshots use “crosschain” wording. The changeset records patch releases for the affected packages and preserves API option keys.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

Suggested reviewers: ericglau

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: standardizing crosschain terminology.
Description check ✅ Passed The description accurately explains the terminology updates, affected files, preserved API keys, and changeset.
Linked Issues check ✅ Passed The changes satisfy issue #831 by standardizing user-facing terminology and preserving all specified crossChain* API keys.
Out of Scope Changes check ✅ Passed All changes support issue #831 and update related tests, snapshots, and release metadata without unrelated code changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@Mary-yumm

Copy link
Copy Markdown
Contributor Author

I confirm that I have read and hereby agree to the OpenZeppelin Contributor License Agreement

@Mary-yumm
Mary-yumm force-pushed the fix-crosschain-terminology branch from 272a410 to ca4d9c2 Compare August 7, 2026 02:59

@ericglau ericglau left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the PR!

@ericglau
ericglau merged commit 2c2d516 into OpenZeppelin:master Aug 7, 2026
20 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Standardize "crosschain" vs "cross-chain" terminology

2 participants