About sending unsupported type contract to node causing node crash

About sending unsupported type contract to node causing node crash

Aechina has opened the public node service. The developer Baixin sends the contract transfer that does not support payment to it, causing the node to crash in error and no longer synchronize the block height, even if I restart the node.

cannot be applied due to an error {error,{badkey,1}}
04:29:55.428 [warning] Mnesia activity Type=transaction exit with Reason={aborted,{throw,{aec_chain_state_error,invalid_transactions_in_block}}}, retrying
04:29:55.449 [info] Failed to add synced block 301949: invalid_transactions_in_block
04:29:55.449 [info] <0.2817.0> aborting sync work against <<114,36,206,142,80,142,228,76,208,101,212,123,9,239,132,249,145,20,3,114,206,143,133,136,223,174,78,240,202,175,88,21>>
04:29:55.448 [error] Tx {aetx,contract_call_tx,aect_call_tx,138,{contract_call_tx,{id,account,<<94,136,215,34,36,98,149,206,254,195,20,61,44,242,33,35,71,170,201,96,208,179,234,74,190,3,251,168,108,224,220,46>>},317,{id,contract,<<202,107,161,151,124,128,248,101,124,17,58,155,63,33,239,143,97,106,75,67,211,60,5,143,239,243,89,79,129,88,124,59>>},3,452760000000000,0,0,1000000,1000000000,<<43,17,98,168,180,140,27,159,2,160,134,206,73,254,243,7,240,26,67,91,47,192,247,188,41,113,65,43,87,1,169,119,65,215,84,16,26,232,122,158,108,61>>,,<<94,136,215,34,36,98,149,206,254,195,20,61,44,242,33,35,71,170,201,96,208,179,234,74,190,3,251,168,108,224,220,46>>}}
cannot be applied due to an error {error,{badkey,1}}
04:29:55.448 [info] Couldn’t insert received block (invalid_transactions_in_block)
04:29:56.225 [error] Tx {aetx,contract_call_tx,aect_call_tx,138,{contract_call_tx,{id,account,<<94,136,215,34,36,98,149,206,254,195,20,61,44,242,33,35,71,170,201,96,208,179,234,74,190,3,251,168,108,224,220,46>>},317,{id,contract,<<202,107,161,151,124,128,248,101,124,17,58,155,63,33,239,143,97,106,75,67,211,60,5,143,239,243,89,79,129,88,124,59>>},3,452760000000000,0,0,1000000,1000000000,<<43,17,98,168,180,140,27,159,2,160,134,206,73,254,243,7,240,26,67,91,47,192,247,188,41,113,65,43,87,1,169,119,65,215,84,16,26,232,122,158,108,61>>,,<<94,136,215,34,36,98,149,206,254,195,20,61,44,242,33,35,71,170,201,96,208,179,234,74,190,3,251,168,108,224,220,46>>}}

What version of the node is this? I had an old node (5.5.2?) that ran into problems yesterday, updating to the latest version seems to have solved my issue…

2 Likes