Skip to content

SimulatedBackend doesn't match ethereum interface and ethclient #28431

Closed
@s1na

Description

As far as I understand the goal is that the interfaces defined here match that of ethclient and SimulatedBackend so it's easy to swap out a real node RPC server with a simulated blockchain. However there are currently a few differences preventing this:

  • PendingBalanceAt, PendingStorageAt and PendingTransactionCount are not defined on the simulated backend
  • SubscribePendingTransactions is part of the interfaces, but it is not defined on the simulated backend. Also it is defined on gethclient, not directly on ethclient.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions