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
Merge branch 'alin/MR-444-retain-prev_state_hash' into 'master'
fix: [MR-444] Do not reset `SystemMetadata::prev_state_hash`
`SystemMetadata::after_split()` used to reset `SystemMetadata::prev_state_hash`,
on account of the post-split state being a genesis state. However, by the time
`after_split()` is called, this is already the tip (the mutable state that the
round will execute on) and its `prev_state_hash` has already been set to the
checkpoint/CUP hash. Resetting it to None will cause `commit_and_certify()` to
panic.
Closes MR-444
Closes MR-444
See merge request dfinity-lab/public/ic!12656
0 commit comments