Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(rollup-verifier): decode commitBatchWithBlobProof calldata #896

Conversation

colinlyguo
Copy link
Member

@colinlyguo colinlyguo commented Jul 10, 2024

1. Purpose or design rationale of this PR

This PR fixes the bug that current rollup verifier cannot decode commitBatchWithBlobProof's calldata.

if method.Name == "commitBatch" {
  // decode block ranges
} else if method.Name == "commitBatchWithBlobProof" {
  // decode block ranges
}

This also adds unit tests fetched from local testnet commitBatchWithBlobProof transactions.

2. PR title

Your PR title must follow conventional commits (as we are doing squash merge for each PR), so it must start with one of the following types:

  • fix: A bug fix

3. Deployment tag versioning

Has the version in params/version.go been updated?

  • Yes

4. Breaking change label

Does this PR have the breaking-change label?

  • This PR is not a breaking change

HAOYUatHZ
HAOYUatHZ previously approved these changes Jul 11, 2024
zimpha
zimpha previously approved these changes Jul 11, 2024
Thegaram
Thegaram previously approved these changes Jul 12, 2024
@Thegaram Thegaram dismissed stale reviews from HAOYUatHZ, zimpha, and themself via 43d864e July 12, 2024 15:44
@colinlyguo colinlyguo merged commit df08f60 into develop Jul 12, 2024
8 checks passed
@colinlyguo colinlyguo deleted the fix-rollup-verifier-decode-commitBatchWithBlobProof-calldata branch July 12, 2024 16:37
lwedge99 pushed a commit to sentioxyz/scroll-geth that referenced this pull request Aug 27, 2024
…l-tech#896)

fix(rollup-verifier): decode commitBatchWithBlobProof

Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
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.

4 participants