Skip to content

fix(deps): move to adapter-polkadot 7 and drop the ui-components package extension - #141

Merged
pasevin merged 2 commits into
mainfrom
chore/adapters-polkadot-7
Sep 20, 2026
Merged

pasevin merged 2 commits into
mainfrom
chore/adapters-polkadot-7

Conversation

@pasevin

@pasevin pasevin commented Sep 20, 2026

Copy link
Copy Markdown
Collaborator

Why

@openzeppelin/adapter-polkadot@5.0.0 imported UI Kit packages without declaring them, so Role Manager carried a version-scoped packageExtensions workaround. OpenZeppelin/openzeppelin-adapters#88 fixes the published manifest by declaring the UI Kit peers.

What changed

Package Before After Reason
@openzeppelin/adapter-polkadot ^5.0.0 ^7.0.0 Adopts the upstream undeclared-peer fix.
@openzeppelin/adapters-vite ^12.0.0 ^14.0.0 Forced: v12 peers on Polkadot ^5; v14 peers on Polkadot ^7.
@openzeppelin/adapter-evm ^5.0.0 ^6.0.0 Forced by the installed EVM optional peer in adapters-vite@14, which requires ^6.
@openzeppelin/adapter-stellar ^4.0.1 ^6.0.0 Forced by the installed Stellar optional peer in adapters-vite@14, which requires ^6.

Removed the adapter-polkadot@5.0.0 packageExtensions block. The lockfile remains registry-only, with one installed copy of every @openzeppelin/* package and no unmet OpenZeppelin peer warnings.

Verification

  • pnpm install --frozen-lockfile
  • pnpm check-adapter-peers: 11 adapter/peer pairs passed
  • Workspace build: 3 projects passed
  • App typecheck: passed
  • Workspace lint: 3 projects passed
  • App tests: 56 files, 1,226 tests passed
  • Tooling tests: 11 tests passed
  • Live Sepolia check with 0x2A97041FEE9AfD0E7C81f5606dfFfcBFCE91aBd4: app booted; EVM wallet dialog opened and rendered the Safe provider; Authorized Accounts, Roles, and Role Changes rendered populated tables; Dashboard rendered the pending-role-changes empty state; reload produced 0 console errors/exceptions from adapters

Notes

  • Polkadot 7 declares the ui-components ^3.9.0 and ui-react ^3.3.2 peers needed by its inlined EVM wallet UI; there are no runtime source changes in that release.
  • Adapter EVM 6 and Stellar 6 only move their peer declarations to the UI Kit v3 line already installed by Role Manager.
  • adapters-vite@13 adds Vite 8 peer compatibility without runtime changes; v14 only aligns its Polkadot peer to v7.
  • Remaining pnpm peers check findings are pre-existing, non-OpenZeppelin peers (tailwindcss-animate, ws/utf-8-validate, and @wagmi/core).

@pasevin
pasevin merged commit 24992b4 into main Sep 20, 2026
11 checks passed
@pasevin
pasevin deleted the chore/adapters-polkadot-7 branch September 20, 2026 23:35
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant