[mirror net] hardfork 21 fails to apply
When node gets replayed from converted 5M block_log there are already 13 hardforks present. If we have witnesses producing blocks then rest of hardforks get applied, but not all immediately (one hardfork is applied circa arount 21 blocks, it comes from algorithm for witness schedule, this algorithm computes also when to apply hardfork). So we have:
kwi 20 15:38:38 2318602ms database.cpp:6226 apply_hardfork ] HARDFORK 19 at block 5000184
...
kwi 20 15:39:50 2390601ms database.cpp:6226 apply_hardfork ] HARDFORK 20 at block 5000205
...
kwi 20 15:41:02 2462601ms database.cpp:6226 apply_hardfork ] HARDFORK 21 at block 5000226
kwi 20 15:41:02 2462605ms database.cpp:4402 _apply_block ] 13 N5boost10wrapexceptISt12out_of_rangeEE: unknown key
kwi 20 15:41:02 unknown key:
kwi 20 15:41:02 {"name":"steem.dao","what":"unknown key"}
kwi 20 15:41:02 database.cpp:799 get_account
kwi 20 15:41:02
kwi 20 15:41:02 {}
kwi 20 15:41:02 database.cpp:6188 process_hardforks
kwi 20 15:41:02 2462605ms database.cpp:4402 _apply_block ] next_block.block_num(): 5000226
kwi 20 15:41:02 2462607ms database.cpp:1226 _push_block ] Failed to push new block:
kwi 20 15:41:02 13 N5boost10wrapexceptISt12out_of_rangeEE: unknown key
kwi 20 15:41:02 unknown key:
kwi 20 15:41:02 {"name":"steem.dao","what":"unknown key"}
kwi 20 15:41:02 database.cpp:799 get_account
kwi 20 15:41:02
kwi 20 15:41:02 {}
kwi 20 15:41:02 database.cpp:6188 process_hardforks
kwi 20 15:41:02 rethrow
kwi 20 15:41:02 {"next_block.block_num()":5000226}
kwi 20 15:41:02 database.cpp:4402 _apply_block
kwi 20 15:41:02
kwi 20 15:41:02 {"next_block": {"previous":"004c4c215158c4fc8590014e8392361844bd2109","timestamp":"2022-04-20T13:41:03","witness":"smooth.witness","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"20982a0ec4d45c49ac367e20d5fb25662cb430fba5a5b468ac7a335d0bac4fc74109bf24978f8393523f185e792c878dd8f4e9b3270b59a466d8f2bfe45a687e2d","transactions":[]}}
both blockchain_converter and hived were built on 3d003569 (origin/develop from 19 April)