erigon-pulse/turbo/rpchelper
Enrique Jose Avila Asapche a5cb53d690
safe and finalized blocks from eth_getBlockByNumber (#4436)
* added getFinalzed and getSafe block num

* added rpc finalized and safe block num

* getting nums

* returning nil

* returning nil

* added to helper.go

* removed repeated code

* added functions into rpchelper

* returning err

* simplified

* using previous latest getter

* getting pending block with filter/

* Fix plain state block number

* Fix test

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-06-14 11:07:46 +03:00
..
filters.go Erigon2 upgrade 2 prototype (#4341) 2022-06-10 16:18:43 +01:00
helper.go safe and finalized blocks from eth_getBlockByNumber (#4436) 2022-06-14 11:07:46 +03:00
interface.go Erigon2 upgrade 2 prototype (#4341) 2022-06-10 16:18:43 +01:00
logsfilter.go Erigon2 upgrade 2 prototype (#4341) 2022-06-10 16:18:43 +01:00
rpc_block.go safe and finalized blocks from eth_getBlockByNumber (#4436) 2022-06-14 11:07:46 +03:00