Skip to content

Add postStateRoot and withdrawRoot when rebuilding batch cache#412

Merged
FletcherMan merged 2 commits intomainfrom
fix_batch
Jul 11, 2024
Merged

Add postStateRoot and withdrawRoot when rebuilding batch cache#412
FletcherMan merged 2 commits intomainfrom
fix_batch

Conversation

@FletcherMan
Copy link
Copy Markdown
Collaborator

We forget setting postStateRoot and withdrawRoot when initializing batchingCache in calculateCapWithProposalBlock, making the batch lost these two values if the current block is a new batchPoint.
This PR adds postStateRoot and withdrawRoot to fix this issue.

@ryanmorphl2 ryanmorphl2 self-assigned this Jul 11, 2024
@FletcherMan FletcherMan merged commit b9554d1 into main Jul 11, 2024
@FletcherMan FletcherMan deleted the fix_batch branch July 11, 2024 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants