Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[resharding] Check proof size limit while reading delayed receipts (#…
…12721) This PR builds on top of #12710 and is related to issue #12701 After resharding, we copy the set of delayed receipts from parent to both children. While handling delayed receipts in the new shard, we iterated over all the delayed receipts and ignored/removed the ones that did not belong to our shard. Due to the implementation however, we bypassed checks to the state witness size limit in the specific case of when the receipt did not belong to our shard. Now that we are doing the checks for the state witness size within the trie recorder, it's much simper to go back and check the proof size limit after reaching EVERY delayed receipt.
- Loading branch information