Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion arbos/arbostypes/incomingmessage.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ const (
L1MessageType_Invalid = 0xFF
)

const MaxL2MessageSize = 256 * 1024
// 1,000,000,000 gas/s = 100,000,000 gas per block @ 10 blocks/s
// 100,000,000 gas of TxDataNonZeroGasEIP2028
// 100,000,000 / 16 = 6,250,000
const MaxL2MessageSize = 6_250_000

type L1IncomingMessageHeader struct {
Kind uint8 `json:"kind"`
Expand Down
Loading