[mirror-net] block based converter produces block_log that fails to replay
While testing !565 (merged) converted block_log fails during replay:
2022-07-26T20:01:07.156770 database.cpp:403 reindex ] Replaying blocks...
2022-07-26T20:01:08.966373 exception.cpp:271 record_assert_trip ] FC_ASSERT / CHAINBASE_THROW_EXCEPTION!
stack trace:
0x000055cdf840b886 /home/hive/bin/hived-mirror-tm-blockchain-converter-implement-full-block-transaction : +0x1ab2886
0x000055cdf83efd3d /home/hive/bin/hived-mirror-tm-blockchain-converter-implement-full-block-transaction : +0x1a96d3d
0x000055cdf7affb70 /home/hive/bin/hived-mirror-tm-blockchain-converter-implement-full-block-transaction : +0x11a6b70
0x000055cdf7b208be /home/hive/bin/hived-mirror-tm-blockchain-converter-implement-full-block-transaction : +0x11c78be
0x000055cdf7b218cf /home/hive/bin/hived-mirror-tm-blockchain-converter-implement-full-block-transaction : +0x11c88cf
0x000055cdf7b21eb2 /home/hive/bin/hived-mirror-tm-blockchain-converter-implement-full-block-transaction : +0x11c8eb2
0x000055cdf7b231c5 /home/hive/bin/hived-mirror-tm-blockchain-converter-implement-full-block-transaction : +0x11ca1c5
0x000055cdf7ab4934 /home/hive/bin/hived-mirror-tm-blockchain-converter-implement-full-block-transaction : +0x115b934
0x000055cdf7ab5216 /home/hive/bin/hived-mirror-tm-blockchain-converter-implement-full-block-transaction : +0x115c216
0x000055cdf7ab65b9 /home/hive/bin/hived-mirror-tm-blockchain-converter-implement-full-block-transaction : +0x115d5b9
0x000055cdf7ac0469 /home/hive/bin/hived-mirror-tm-blockchain-converter-implement-full-block-transaction : +0x1167469
0x000055cdf6e169ed /home/hive/bin/hived-mirror-tm-blockchain-converter-implement-full-block-transaction : +0x4bd9ed
0x000055cdf6dddca0 /home/hive/bin/hived-mirror-tm-blockchain-converter-implement-full-block-transaction : +0x484ca0
0x00007f5c96dd5083 /lib/x86_64-linux-gnu/libc.so.6 : __libc_start_main+0xf3
0x000055cdf6e0886e /home/hive/bin/hived-mirror-tm-blockchain-converter-implement-full-block-transaction : _start+0x2e
2022-07-26T20:01:08.966525 database.cpp:4323 _apply_block ] 3010000 tx_missing_active_auth: missing required active authority
Missing Active Authority admin
{"id":"admin","auth":{"weight_threshold":1,"account_auths":[],"key_auths":[["STM65wH1LZ7BfSHcK69SShnqCAH5xdoSZpGkUjmzHJ5GCuxEK9V5G",1],["STM7w2NUpvTenZexhJH6EZbwBa5fAnELFVo33BLvK96ndeZNPq7hC",1]]},"owner":{"weight_threshold":1,"account_auths":[],"key_auths":[["STM65wH1LZ7BfSHcK69SShnqCAH5xdoSZpGkUjmzHJ5GCuxEK9V5G",1],["STM7w2NUpvTenZexhJH6EZbwBa5fAnELFVo33BLvK96ndeZNPq7hC",1]]}}
transaction_util.cpp:73 verify_authority
{"sigs":[]}
transaction_util.cpp:90 verify_authority
{"full_transaction->get_transaction()":{"ref_block_num":25501,"ref_block_prefix":3560008518,"expiration":"2016-03-25T13:49:37","operations":[{"type":"transfer_operation","value":{"from":"admin","to":"steemit","amount":{"amount":"833000","precision":3,"nai":"@@000000021"},"memo":""}}],"extensions":[],"signatures":[]}}
database.cpp:4703 _apply_transaction
2022-07-26T20:01:08.966534 database.cpp:4323 _apply_block ] block_num: 25502
2022-07-26T20:01:08.966605 chain_plugin.cpp:675 replay_blockchain ] 3010000 tx_missing_active_auth: missing required active authority
Missing Active Authority admin
{"id":"admin","auth":{"weight_threshold":1,"account_auths":[],"key_auths":[["STM65wH1LZ7BfSHcK69SShnqCAH5xdoSZpGkUjmzHJ5GCuxEK9V5G",1],["STM7w2NUpvTenZexhJH6EZbwBa5fAnELFVo33BLvK96ndeZNPq7hC",1]]},"owner":{"weight_threshold":1,"account_auths":[],"key_auths":[["STM65wH1LZ7BfSHcK69SShnqCAH5xdoSZpGkUjmzHJ5GCuxEK9V5G",1],["STM7w2NUpvTenZexhJH6EZbwBa5fAnELFVo33BLvK96ndeZNPq7hC",1]]}}
transaction_util.cpp:73 verify_authority
{"sigs":[]}
transaction_util.cpp:90 verify_authority
{"full_transaction->get_transaction()":{"ref_block_num":25501,"ref_block_prefix":3560008518,"expiration":"2016-03-25T13:49:37","operations":[{"type":"transfer_operation","value":{"from":"admin","to":"steemit","amount":{"amount":"833000","precision":3,"nai":"@@000000021"},"memo":""}}],"extensions":[],"signatures":[]}}
database.cpp:4703 _apply_transaction
rethrow
{"block_num":25502}
database.cpp:4323 _apply_block
{"full_block->get_block()":{"previous":"0000639d466b31d44f4525348163f5026f5c873f","timestamp":"2016-03-25T13:49:06","witness":"emily","transaction_merkle_root":"627602af86a3376f5ea680f0b52cd72e98fec953","extensions":[],"witness_signature":"1f0924ba645fd86cfdf792590ca063d1238d1599de6641f42bddb5274fdaaf519b6419c86ccb04d247f103d9078ae646a62d1315ab1a1f8bf6535db85195c6b1bc","transactions":[{"ref_block_num":25501,"ref_block_prefix":3560008518,"expiration":"2016-03-25T13:49:37","operations":[{"type":"transfer_operation","value":{"from":"admin","to":"steemit","amount":{"amount":"833000","precision":3,"nai":"@@000000021"},"memo":""}}],"extensions":[],"signatures":[]}]}}
database.cpp:4100 apply_block
{"args.data_dir":"/storage1/isolated-mirror-producer/small/blockchain","args.shared_mem_dir":"/run/hive1"}
database.cpp:458 reindex
2022-07-26T20:01:08.966614 chain_plugin.cpp:675 replay_blockchain ] :
2022-07-26T20:01:08.966626 chain_plugin.cpp:514 start_replay_process ] Generating artificial interrupt request...
2022-07-26T20:01:08.966634 application.cpp:84 generate_interrupt_r ] interrupt requested!
2022-07-26T20:01:08.966643 chain_plugin.cpp:951 plugin_startup ] Chain plugin initialization finished...
FC_ASSERT triggered: {"source_file":"/home/hive/hive/libraries/protocol/transaction_util.cpp","source_lineno":73,"expr":"s.check_authority(id) || s.check_authority(get_owner(id))"}
Entering application main loop...
performing shutdown on interrupt request...
Edited by Gandalf