Skip to content

Hard forks application fixes in the converter

Mariusz Trela requested to merge mt-issue-253-hardfork-order into develop

Closes #261 (closed), #253 (closed)

  • Fixed hard forks application in the converter (hard forks were previously applied one block before they should be actually applied)
  • Hardcoded mainnet hard fork application block numbers in the hive/protocol/hardfork_block.hpp header file
  • Fixed members initialization order in the converter causing compiler warnings
  • Optimized hard forks application in the converter by replacing if/if else's chain by the statically declared array of "hard fork applies" (it could be even customized in the future)
  • Fixed chain id validation in the block log conversion plugin after HF20
Edited by Mateusz Tyszczak

Merge request reports