lotus/gateway
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
..
eth_sub.go itests: Fix TestEthSubscribeLogs 2023-01-31 10:28:12 +01:00
handler.go gateway: eth_subscribe support 2023-01-31 10:28:12 +01:00
node_test.go gateway: eth_subscribe support 2023-01-31 10:28:12 +01:00
node.go feat: Add trace transaction API (#12075) 2024-06-07 14:14:34 -04:00
proxy_eth.go feat: eth: support "safe" and "finalized" for eth_getBlockByNumber (#12110) 2024-06-21 11:38:21 +10:00
proxy_fil.go feat(events): add "Raw" suffix to {Get,Subscribe}ActorEvents 2024-03-19 19:22:01 +11:00