-
Notifications
You must be signed in to change notification settings - Fork 3.9k
op-batcher doesn't take into account pectra gas floor when posting calldata #14513
Copy link
Copy link
Closed
Closed
Copy link
Labels
A-op-batcherArea: op-batcherArea: op-batcherH-l1-pectra-defenseSoftfork: change is a paret of upgrade 12Softfork: change is a paret of upgrade 12
Description
Bug Description
After the holesky hard fork our batcher that uses a custom DA (so only posts a few bytes per tx) started getting this error:
t=2025-02-24T23:18:31+0000 lvl=warn msg="Failed to create a transaction, will retry" service=batcher err="failed to call: err: insufficient gas for floor data gas cost: have 21592, want 22480 (supplied gas 21592), reason: <nil>"
Steps to Reproduce
Try to send a batcher tx with 37 bytes as data
Expected behavior
Transaction is created properly
Environment Information:
Fraxtal op-batcher based on v1.11.1
Additional context
I've copied the go-ethereum FloorDataGas function and used that as a min gaslimit when sending the tx and the issue was resolved
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-op-batcherArea: op-batcherArea: op-batcherH-l1-pectra-defenseSoftfork: change is a paret of upgrade 12Softfork: change is a paret of upgrade 12