Skip to content

Commit

Permalink
Merge branch 'master' into das-batch-store-chunking
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan-Wilson authored May 30, 2024
2 parents 4fbdc72 + 4b303e0 commit 3acf22a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions execution/gethexec/executionengine.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@ func MessageFromTxes(header *arbostypes.L1IncomingMessageHeader, txes types.Tran
l2Message = append(l2Message, txBytes...)
}
}
if len(l2Message) > arbostypes.MaxL2MessageSize {
return nil, errors.New("l2message too long")
}
return &arbostypes.L1IncomingMessage{
Header: header,
L2msg: l2Message,
Expand Down

0 comments on commit 3acf22a

Please sign in to comment.