You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At 2024-01-18 10:30:49 +0800, 2 pending transactions were synchronized. However, an exception occurred when searching for the previous output with previous_index 604. The corresponding previous output was not found. At this point, the cell's index is 1, but the field was not created when recording the cell input.
At 2024-01-18 15:23:04 +0800, the transaction was synchronized again. Due to the primary key of the cell input database being based on ckb_transaction_id and index, duplicate data was inserted, and the issue of incorrectly updating duplicate cells from the previous pending transactions occurred.
Summary
https://explorer.nervos.org/block/11990208
Some transactions have synchronization anomalies, synchronizing redundant inputs, and displaying some addresses as "Unable to decode address".
Reason
We found an example transaction https://explorer.nervos.org/transaction/0xbe996233232e586cfd2cd4b2012aad7a2e8b8bde1c049bef514002837c4ee780, which seems to have issues in processing pending transactions.
At
2024-01-18 10:30:49 +0800
, 2 pending transactions were synchronized. However, an exception occurred when searching for the previous output withprevious_index 604
. The corresponding previous output was not found. At this point, the cell's index is1
, but the field was not created when recording the cell input.At
2024-01-18 15:23:04 +0800
, the transaction was synchronized again. Due to the primary key of the cell input database being based onckb_transaction_id
andindex
, duplicate data was inserted, and the issue of incorrectly updating duplicate cells from the previous pending transactions occurred.Therefore, the error "Unable to decode address" occurred.
https://github.com/nervosnetwork/ckb-explorer/blob/2f318c1ea9e440ee5e77e1b6704452224bba3670/app/models/ckb_sync/new_node_data_processor.rb#L908-L909
https://github.com/nervosnetwork/ckb-explorer/blob/6e31433319ac413e22482201be42ac6b8bc21fcf/app/jobs/import_transaction_job.rb#L74-L78
The text was updated successfully, but these errors were encountered: