* fix null snapshot issue in chain helper's state sync new functions
* add WriteHeaderNumber to writeHeadBlock
* improve CurrentBlockNumberto handle unsaved new pivot
* fix null response data for full state sync
* add log for zero task in state worker loop
* adjust full state sync request parameters, rename stage_state
* add full state stage to the list of stages in fast sync
* add RangeMode and ChainExecutionMode to handle execution of the stream sync stage
* fix block exists issue on stage_states in stream sync
* fix double insertion in stage states
* add count for state downloader to return number of tasks
* fix travis build issue by goimports
* switch to Full Sync on pivot block, fix checking nil length in HandleRequestError
* test: add delegation type tests
These were skipped intentionally in the previous pull request
* rpc: undo all changes to 2023.3.0
* rpc: calculate SenderAddress before `ConvertToEth`
`tx.ConvertToEth` silently drops the `ShardID` and `ToShardID` fields.
This results in the hash of the transaction changing (either via removal
of these fields in the hash calculation or by automatic filling of the
values by the node's shard). The different hash calculation results in
incorrect sender address calculation.
There have been a couple of attempts to fix this issue, which created
troubles elsewhere. This pull request reverts to the behaviour seen in
2023.3.0 with a simple edit that calculates the `SenderAddress` before
dropping the fields in the call to `ConvertToEth`.
* Fix: max rate issue (#4580)
* fix: max-rate bellow the era min-rate
* fix comments
* add localnet epoch config
* update config
* update config
* update config
* update config
* add log
* remove hip30 from localnet
* disable localnet config
* engine: actually fix the 7% fee implementation
* rpc: fix transaction receipt format for eth
use the same receipt as `hmyv2_`. using a boolean variable, decide if
the addresses need to be converted to bech32. do not return a contract
address unless a contract was actually deployed in the transaction by
using a pointer address type.
* rpc: add comment indicating function is unused
with the switch to `v2.NewReceipt` for even `eth_` queries, the
`eth.NewReceipt` function is no longer used
* build: fix delegation tests
* update comment
blocks was referring to `blocks of code` and not blocks in a chain.
removed the confusing word
* rpc: remove ConvertToEth in GetBlockReceipts
* internal: max rate hard fork schedule
* internal: testnet max rate schedule
---------
Co-authored-by: Diego Nava <8563843+diego1q2w@users.noreply.github.com>