Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Update ProviderResolver for the new EIP-1193 spec #2342

@nivida

Description

@nivida

Expected behavior

A provider implemented with the EIP-1193 standard which does not have the name EthereumProvider will be resolved and handled as EIP-1193 provider.

Actual behavior

Only EIP-1193 providers with the name EthereumProvider will be handled as valid EIP-1193 provider.

Steps to reproduce the behavior

  1. Inject an EIP-1193 provider without the name EthereumProvider

Error Logs

Will throw an invalid provider error.

Versions

Web3.js - v1.0.0-beta.43

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementIncludes improvements or optimizations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions