plugeth/ethclient
Marius van der Wijden 2d08c99009
ethclient/simulated: implement new sim backend (#28202)
This is a rewrite of the 'simulated backend', an implementation of the ethclient interfaces
which is backed by a simulated blockchain. It was getting annoying to maintain the old
version of the simulated backend feature because there was a lot of code duplication with
the main client. 

The new version is built using parts that we already have: an in-memory geth node instance
running in developer mode provides the chain, while the Go API is provided by ethclient.
A backwards-compatibility wrapper is provided, but the simulated backend has also moved to
a more sensible import path: github.com/ethereum/go-ethereum/ethclient/simulated

---------

Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2024-01-10 16:45:08 +01:00
..
gethclient all: fix typos in comments (#28682) 2023-12-18 09:35:12 +01:00
simulated ethclient/simulated: implement new sim backend (#28202) 2024-01-10 16:45:08 +01:00
ethclient_test.go eth: set networkID to chainID by default (#28250) 2023-11-07 14:21:46 +01:00
ethclient.go ethclient: simplify error handling in TransactionReceipt (#28748) 2024-01-04 16:32:23 +01:00
signer.go ethclient: fix tx sender cache miss detection (#23877) 2021-11-17 14:44:41 +01:00