lotus/node
Mikers 6408709018
feat: eth: support "safe" and "finalized" for eth_getBlockByNumber (#12110)
* add support for eth_getBlockByNumber to accept the term safe which we are using as 30 blocks

* fix lint catch of unnecessary cast

* add finalized to get block by number

* Update chain/types/ethtypes/eth_types.go

Co-authored-by: Rod Vagg <rod@vagg.org>

* add test for eth get block by number to accept latest and safe and finalized as arguments

---------

Co-authored-by: Rod Vagg <rod@vagg.org>
2024-06-21 11:38:21 +10:00
..
bundle fix circleci and fiximports 2023-11-15 13:06:51 +01:00
config chore: curio: remove forgotten parts of curio config (#12087) 2024-06-14 11:34:36 +10:00
hello fix: hello: avoid dialing when fetching hello tipset (#12032) 2024-05-23 08:44:52 +04:00
impl feat: eth: support "safe" and "finalized" for eth_getBlockByNumber (#12110) 2024-06-21 11:38:21 +10:00
modules chore: deps: prep for upstream removing ConstructNilRouting() 2024-06-19 11:20:21 +10:00
repo chore: types: remove more items forgotten after markets (#12095) 2024-06-17 10:01:20 +04:00
builder_chain.go cleanup: miner: remove markets and deal-making from Lotus Miner (#12005) 2024-06-05 18:14:50 +04:00
builder_miner.go cleanup: miner: remove markets and deal-making from Lotus Miner (#12005) 2024-06-05 18:14:50 +04:00
builder.go chore: deals: remove forgotten graphsync references (#12084) 2024-06-14 11:33:31 +10:00
fxlog.go chore: fix imports 2022-06-14 17:00:51 +02:00
health.go chore: lint: fix lint errors with new linting config 2024-05-13 14:52:09 +10:00
options.go fix circleci and fiximports 2023-11-15 13:06:51 +01:00
rpc.go cleanup: Lotus client: remove markets and deal-making from Lotus Client (#11999) 2024-06-05 09:56:25 +04:00
shutdown_test.go fix circleci and fiximports 2023-11-15 13:06:51 +01:00
shutdown.go Set notifications for SIGTERM and SIGINT when we start the cli 2022-12-15 12:54:41 -05:00
testopts.go fix circleci and fiximports 2023-11-15 13:06:51 +01:00