We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 798a0ab commit ef3d783Copy full SHA for ef3d783
rollup/internal/controller/relayer/l2_relayer_sanity.go
@@ -17,6 +17,9 @@ import (
17
// transaction data (calldata and blobs) by parsing them and comparing against database records.
18
// This ensures the constructed transaction data is correct and consistent with the database state.
19
func (r *Layer2Relayer) sanityChecksCommitBatchCodecV7CalldataAndBlobs(calldata []byte, blobs []*kzg4844.Blob) error {
20
+ if r.l1RollupABI == nil {
21
+ return fmt.Errorf("l1RollupABI is nil: cannot parse commitBatches calldata")
22
+ }
23
calldataInfo, err := parseCommitBatchesCalldata(r.l1RollupABI, calldata)
24
if err != nil {
25
return fmt.Errorf("failed to parse calldata: %w", err)
0 commit comments