* added a way to get latest executed block post POS
* added erigon_ExecutedBlockNumber into readme
* optional rpc.BlockNumber
* better message
* updated readme
* printing
* logging
* spam off
* ops
* clean up
* deleted all bor related stuff in snapshots
* adding bor tx to BorTxLookUp
* added readBorTxLookUp
* getting bor tx from bor lookup
* comments
* deleted bor related stuff
* deleting bor tx
* writing borTxLookUp in stage_txlookup
* using bytes
* little fixes
* updated erigon-lib
* using biEndian
* clean up
* setting bytes for big int
* log
* logging
* more logs
* delete logs
* add_abigen_error_handle
* add abigen error type test code
* add field timestamp in `eth_getLogs` api
add field timestamp in `eth_getLogs` api
* undo add field timestamp in `eth_getLogs`
* add `erigon_getLogs` api and add field `timestamp`
add `erigon_getLogs` api and add field `timestamp`
* feat: add `erigon_getLogs` with timestamp field to erigon rpcdaemon
feat: add `erigon_getLogs` with timestamp field to erigon rpcdaemon
* fix: issue `4982` roaring out of range
fix: issue 4982 roaring out of range
* convert rangeEnd to latest
convert rangeEnd to latest when range end is a big value that go out of range of MaxUint32
* add begin condition
add begin condition in case of bigger than latest block
* add annotation to unreachable code
* getting header number from snapshots
* Revert "getting header number from snapshots"
This reverts commit b2a899ae6b1a18d5eb769522c30caa3aebd060e7.
* using latest executed block number && snapshots
* printing bimaps
* log info
* more logs
* more logs
* logs
* ops
* nil ptr
* log topic
* more print
* ops
* storing bor logs
* got rid of the logs
* clearing buf
* [fix] eth_gasPrice RPC issue.
big.Int's Add method will save the result to self, since oracle.SuggestTipCap might come from gpo.lastPrice, this will change all following rpc result
* [fix] add big library
* [fix] set default result for gasResult
* Fixing RPC JSON errors
* Use local rpc mod
* Revert "Use local rpc mod"
This reverts commit 61d06a72d218f5ecb84e9e4ddddf8762a04f714c.
* Make handle error accessible
* Port fixes to rpcdaemon22
* Remove unused...
* ... and use correct function name
* Handle errors outside iterator loop. Fix missing rpcdaemon22 error handling
* Bubble up higher level errors to the top-level object
* Fix linter error - semi-colon..
* General cleanup and fixes
* Cleaning part 2
* cleanup part 3
* Refactored staterunner to have a handler function
* Fixed linting
* Cleanup part 4
* Changed the initialization of the require package and updated .golangci.yml
* Fixed lint errors from golangci-lint
* deleted state_recon_1.go
* fixed build error
* Added ReadHeaderTimeouts for httpServer
* made changes to golangci
* Reset golangci.yml
* getBlockTransactionCountByHash using snapshots
* got body from block reader
* requesting block body with transactions
* tests
* added tx amount into blocreader body
* using txAmount from body
* WIP: cmd: separate auth rpc server from regular
* WIP: cmd: updates after code review
* WIP: cmd: eth and engine should be predefined values for authAPI
* cmd: http enabled flag should not affect admin
* cmd: eliminate engine checks in case of non-auth
* cmd: remove engine from http.api options
* Consensus tests update 11
* Add GrayGlacier fork
* Wire currentRandom from tests into PREVRANDAO
* Serenity engine
* Support insertion of PoS blocks in MockSentry
* Introduce marshallTypedTransactionsAsRlpStrings arg into (*Block) RawBody()
* Revert "Introduce marshallTypedTransactionsAsRlpStrings arg into (*Block) RawBody()"
This reverts commit 903fca572be03c7de33318ce177a03a4be34927b.
* Post-merge fix
* Don't wait for Beacon Chain in tests
* Skip powToPosBlockRejection transition test
* ForkChoice in insertPoSBlocks
* Add withPosDownloader arg to MockWithEverything in order to fix TestPoSDownloader
* avoid constantly triggering stageloop when using Engine API
* fix lint + test
* fixed comments
* ops
* little fixes here and there
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
* Add eth_getBalanceChangesInBlock RPC endpoint
* Fix lints
* added assertion for one test
* moved balance change api from eth to erigon
Co-authored-by: fatemebagherii <fa.bagheri.a@gmail.com>