near / nearcore

Reference client for NEAR Protocol
https://near.org
GNU General Public License v3.0
2.3k stars 601 forks source link

[stateless_validation] Fix to store state witness from prev block of epoch before stateless validation #11638

Closed shreyan-gupta closed 2 weeks ago

shreyan-gupta commented 2 weeks ago

Bowen identified this issue with protocol upgrade where we were not storing the chunk state witness for the last block of epoch before stateless validation. This PR is a fix for that.

In a future PR we would write a test for protocol upgrade.

shreyan-gupta commented 2 weeks ago

This is not the issue.