In the first version of Cronos (v0.6), there was a known issue where transactions were being included in a block even when the block gas limit at the EVM level had already been reached.
This led to:
Some "unlucky" transactions (before block height2693800) are not reflected at the EVM level
One would observe a few blocks that have >100% of the block gas limit at the EVM level.
Duplicate transactions
A node host has two ways to obtain a complete database with patched transactions:
Start from genesis and perform the necessary steps at each block height
Perform a one-off sync from a snapshot
Method 1: Start from Genesis
Step 1. Follow the from step 1 to start syncing a node with binaryv0.6.11
Step 2. When you reach blockheight 2693800, the binary should automatically halt.
Now run the command fix-unlucky-txto patch unlucky transactions. This patch only works for blocks until blockheight 2693800.
More information on this command can be found in the release notes of 0.7.1-rc0
And in the patch unlucky tx wiki
Step 3. Verify that the unlucky tx have been patched by checking the following example tx hash
0x435ef379b9ddf226d9fe098ae39d36aed2d03f3c46febd84c48919f1adf1b7fe
Step 5. Verify that the duplicate tx have been patched by checking the following example tx hash
0x3941c8a1625163165fb185e934d463743258ee4b0924c5deb690fc836dab839d
You can print out which blocks will need re-indexing by adding the --print-txs argument. Bear in mind that this won't actually reindex the block, but rather just print.
Method 2: Start from a latest patched snapshot
Alternatively, you can do a one-off sync, if you start with the most recent snapshot, that already includes patched transactions (after November).
Step 6. After the unlucky has been patched, follow the on performing upgrades until the node is synced to the current block height.