Skip to content

Conversation

@Adamj1232
Copy link
Contributor

@Adamj1232 Adamj1232 commented Jun 14, 2022

Description

Fixes issue #1061
Add Optimism test net mapped to Optimism Icon 0x45
Add lowercase coercion to chain ids on setting of chains in store.
This will handle situations similar to one seen with optimism where the chain Id set was 0xA while the associated icon was 0xa causing an issue where the icon couldn't be found and a warning icon was displayed.
image

Checklist

  • The version field in package.json is incremented following semantic versioning
  • The box that allows repo maintainers to update this PR is checked
  • I tested locally to make sure this feature/fix works
  • This PR passes the Circle CI checks

@Adamj1232 Adamj1232 merged commit e6d7894 into v2-web3-onboard-develop Jun 14, 2022
@Adamj1232 Adamj1232 deleted the bug/case_coercion_chain_icon branch June 14, 2022 18:09
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.

4 participants