Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix network status field #306

Merged
merged 1 commit into from
Mar 29, 2024
Merged

fix: Fix network status field #306

merged 1 commit into from
Mar 29, 2024

Conversation

Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Mar 22, 2024

The network status field would show the networkId on load (in decimal), but after switching chains it would show the chainId (in hex). It now shows the networkId in all cases.

This means re-introducing the deprecated networkChanged event listener, but this listener is still something we want to be able to test.

Copy link

@tommasini tommasini left a comment

Choose a reason for hiding this comment

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

LGTM!

The network status field would show the `networkId` on load (in
decimal), but after switching chains it would show the `chainId`
(in hex). It now shows the `networkId` in all cases.

This means re-introducing the deprecated `networkChanged` event
listener, but this listener is still something we want to be able to
test.
@Gudahtt Gudahtt merged commit 3169ae9 into main Mar 29, 2024
7 checks passed
@Gudahtt Gudahtt deleted the fix-network-format branch March 29, 2024 16:39
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