go-ethereum/internal/ethapi
Delweng 6b2f1a5bf7 internal/ethapi: add more testcase for GetTransactionReceipt (#27527)
* internal/ethapi: testBackend reuse the same db

Signed-off-by: jsvisa <delweng@gmail.com>

* internal/ethapi: implment GetTransaction

Signed-off-by: jsvisa <delweng@gmail.com>

* internal/ethapi: implement GetReceipts

Signed-off-by: jsvisa <delweng@gmail.com>

* internal/ethapi: insert receipts and setup txlookup

Signed-off-by: jsvisa <delweng@gmail.com>

* internal/ethapi: add simple success tx receipt test

Signed-off-by: jsvisa <delweng@gmail.com>

* internal/ethapi: add case create contract

Signed-off-by: jsvisa <delweng@gmail.com>

* internal/ethapi: add contract call receipt

Signed-off-by: jsvisa <delweng@gmail.com>

* internal/ethapi: add tx notfound

Signed-off-by: jsvisa <delweng@gmail.com>

* internal/ethapi: add dynamic fee testcase

* internal/ethapi: add accessList receipt

* internal/ethapi: no need to insert receipt chain, no error

* internal/ethapi: use HeaderByHash instead

* internal/ethapi: add one more case

---------

Signed-off-by: jsvisa <delweng@gmail.com>
2023-11-10 11:09:46 -06:00
..
addrlock.go all: update license information (#16089) 2018-02-14 13:49:11 +01:00
api.go internal: early exit if tx for getTxReceipt not found (#27712) 2023-11-10 11:09:46 -06:00
api_test.go internal/ethapi: add more testcase for GetTransactionReceipt (#27527) 2023-11-10 11:09:46 -06:00
backend.go all: move main transaction pool into a subpool (#27463) 2023-11-10 11:09:46 -06:00
dbapi.go all: remove concept of public/private API definitions (#25053) 2022-06-21 12:05:43 +03:00
transaction_args.go internal,tests: replace noarg fmt.Errorf with errors.New (#27335) 2023-11-10 11:09:46 -06:00
transaction_args_test.go all: move main transaction pool into a subpool (#27463) 2023-11-10 11:09:46 -06:00