Skip to content

fix: restrict Ethereum chains based on Tari Universe network#93

Merged
SWvheerden merged 2 commits into
developmentfrom
restrict-chains
Nov 19, 2025
Merged

fix: restrict Ethereum chains based on Tari Universe network#93
SWvheerden merged 2 commits into
developmentfrom
restrict-chains

Conversation

@martinserts

@martinserts martinserts commented Nov 17, 2025

Copy link
Copy Markdown
Contributor

Description

Restricts Ethereum wallet chain based on Tari Universe network.
The modal window with available networks will be shown only if your selected network (in Metamask) is not supported.

switch_network3.mp4

Motivation and Context

Up until now, the Bridge tapplet had 3 supported chains:

  • ETH MAINNET
  • SEPOLIA
  • BASE SEPOLIA

And regardless of Tari Universe network (mainnet or testnet/esmeralda), it allowed to use any of these 3 Ethereum chains.

This change restricts it.
If you are on Tari Mainnet, you can use only ETH MAINNET.
If you are on other Tari network, you can use either SEPOLIA or BASE SEPOLIA

IMPORTANT! This PR depends on Tari Universe getNetwork call, which was added in this Tari Universe PR

How Has This Been Tested?

Locally

What process can a PR reviewer use to test or verify this change?

Breaking Changes

  • None
  • Requires data directory on base node to be deleted
  • Requires hard fork
  • Other - Please specify

@martinserts martinserts self-assigned this Nov 19, 2025
@SWvheerden SWvheerden merged commit bf8b86b into development Nov 19, 2025
8 checks passed
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.

2 participants