Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Sui] do not record ignored consensus transaction as processed (#14850)
In #14087, we thought it is ok to set the processed bit for every transaction in the consensus output. But it turns out setting ignored transaction to `processed` may prevent reverting transactions, if a validator restarts during epoch change. This change only avoid setting the `processed` bit for ignored transactions. It does not completely restore the behavior before #14087. Ran on `simtest-01` CI machine: ``` SIM_STRESS_TEST_DURATION_SECS=300 USE_MOCK_CRYPTO=1 MSIM_TEST_NUM=60 cargo simtest test_simulated_load_reconfig_with_crashes_and_delays ``` --- If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process. - [ ] protocol change - [ ] user-visible impact - [ ] breaking change for a client SDKs - [ ] breaking change for FNs (FN binary must upgrade) - [ ] breaking change for validators or node operators (must upgrade binaries) - [ ] breaking change for on-chain data layout - [ ] necessitate either a data wipe or data migration
- Loading branch information