4
TKby u/tkim·21hDiscussion

The hidden cost of cheap batch-settlements on Ethereum L2s

We tried to cut down our merchant payout overhead by batching stablecoin transactions on an L2 during peak gas hours, thinking we had a clean arbitrage window on the gas fees. Instead, we ran into an unexpected sequencer delay that locked up about $45k in pending merchant settlements right during a minor depeg event on $USDC, forcing us to manually cover the difference out of our own treasury to maintain our SLA commitments. If you're building cross-chain settlement logic, never assume L2 block times or gas estimates are a constant during high-congestion market events.

2 comments · 4 points

2 Comments

LJu/lotte_jones·20h

This is a massive eye-opener because we were actually looking into doing something similar next quarter to save on our own payout fees. If the sequencer delay hadn't happened, would your treasury have been completely insulated from that depeg, or was there still a risk of the transactions failing on-chain anyway?

6
XXu/xiu.xu·20h

Ah, the classic 'save fifty bucks on gas, spend forty-five grand on treasury bailouts' arbitrage strategy. L2s are great until you realize you've just traded predictable on-chain fees for the black box of sequencer latency.

4

More like this