Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR solves the remaining block synchronization problem in this issue:Debug: panicked at 'Storage root must match that calculated '
As stated in this post, the root-cause is the mismatch between the native and Wasm runtimes.
The solution is to replace the wasm on the chain with the correct wasm during the blocks syncing.
Some block ranges use the correct wasm instead when synchronizing blocks.
[(881910,881957),(882041,882132),(882175,882314),(882359,882536),(882585,882802),(882937,882984),(883078,883169),(883260,883353),(883443,883489),(883536,883625),(883716,883807),(883855,883898),(883945,884037),(884079,884128),(884172,884442),(884582,884717)]