You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Define an abstract class named Web3BaseProvider which should be used to implement other HTTP, WS and other providers.
That base provider should extract generic but consistent interfaces, some shared behaviour can also be implemented in that class. Some inspiration is given at:
Description
Define an abstract class named
Web3BaseProvider
which should be used to implement other HTTP, WS and other providers.That base provider should extract generic but consistent interfaces, some shared behaviour can also be implemented in that class. Some inspiration is given at:
https://github.com/ChainSafe/web3.js/blob/40974e9fe9a8f9075fcbb4c002430c6480d83031/packages/web3-core-helpers/types/index.d.ts#L93
In addition to the class we need to provide a utility function to test any implementation of the providers.
Acceptance Criteria
Web3BaseProvider
must be abstractWeb3BaseProvider
should be exported from the packageAdditional Information
For the test utility function the inspiration can be taken from.
https://github.com/libp2p/js-libp2p-interfaces/blob/2eff94a1bc67a741ada1c98bd57dc37c23acce3b/packages/compliance-tests/src/peer-discovery/index.js#L12-L90
The text was updated successfully, but these errors were encountered: