Gas War

A gas war is an episode of acute, self-reinforcing network congestion on Ethereum triggered when thousands of users submit transactions simultaneously to the same smart contract — almost always during a highly anticipated NFT mint, token launch, or airdrop claim — causing them to outbid each other on priority fees to jump the transaction queue, driving gas prices to tens or hundreds of times their normal level, consuming block space across multiple blocks as the queue drains, resulting in an economically destructive situation where many participants pay inflated gas fees for failed transactions (because the supply exhausts before their transaction is included) while MEV bots front-run human buyers and validators collect enormous tips. Gas wars are widely considered one of Ethereum’s most damaging UX failures, responsible for pushing NFT projects toward allowlist systems, Dutch auction pricing, and eventually Layer 2 chains where congestion is structurally avoided.


Mechanics of a Gas War

Phase 1: Announcement and Anticipation

  • Community builds hype; secondary market shows strong demand signals
  • Sophisticated actors (bots, MEV searchers) prepare scripts to auto-submit at mint open

Phase 2: Mint Opens (T=0)

10,000 users submit mint transactions simultaneously

Ethereum mempool fills with 10,000+ pending transactions

Block can process: ~200–400 NFT mint transactions per block

Result: 9,600+ transactions left in queue

Each waiting user increases priority fee to “jump” others

“`

Phase 3: Gas Spiral

User A: submits with 50 gwei priority fee

User B sees queue: raises to 75 gwei

User C: raises to 100 gwei

Bots: auto-raise to 200, 300, 500 gwei…

Base fee spikes from 30 gwei → 500+ gwei (blocks fill up)

Total gas cost: 500,000 gas × (500 + 200) gwei = 0.35 ETH just in fees

For a 0.08 ETH mint: fees are 4× the mint price

“`

Phase 4: Failed Transactions

Supply exhausts at block N

All transactions after block N: revert

  • Token not minted
    Mint price refunded
    GAS FEES: NOT REFUNDED (EVM charges gas for failed execution)

Net loss per failed transaction: $50–$500+ in gas

“`

Phase 5: Resolution

  • Winners: mint price + high gas fee; hold or flip on secondary
  • Losers: paid gas, got nothing; must buy on secondary at premium if they want in

Economic Impact

BAYC Gas War (April 2021)

  • Gas fees during mint: 1–2 ETH per transaction (12.5–25× the mint price)
  • Total ETH burned in gas during mint period: estimated 2,000+ ETH
  • Many users spent more on gas than on the NFT itself

Otherside (Yuga Labs, May 2022)

  • Ethereum gas war: base fee hit 8,000+ gwei during mint
  • ~$150M in ETH burned in gas over ~3 hours
  • Many users paid $5,000+ in gas for a single $6,000 NFT
  • Ethereum community response: significant outrage; accelerated L2 migration

Why Failed Transactions Still Cost Gas

A common point of confusion: if a mint transaction fails (because supply ran out), the gas is still consumed:

“`

EVM execution model:

  1. Transaction submitted with gas limit and gas price
  2. EVM begins executing the mint function
  3. At some point: check fails (“all tokens minted”)
  4. EVM reverts all state changes
  5. BUT: computation already occurred → gas used is charged

Refunded: Unused gas above actual consumption

NOT refunded: Gas consumed up to the revert point

“`

For a typical ERC-721 mint that fails, buyers lose 50,000–150,000 gas (~$20–$200 at 200 gwei base fee).


Solutions to Gas Wars

Solution How It Works Tradeoffs
Allowlist/Whitelist Pre-select eligible wallets; others blocked Limits access; creates allowlist speculation market
Dutch Auction Price starts high, falls over time Buyers self-select price; more equitable but complex
Rate Limiting Max 1–2 mints per wallet per transaction Reduces whale advantage; doesn’t reduce congestion itself
Staggered Launch Multiple waves at different times Distributes demand; still a war within each wave
L2 Deployment Mint on Optimism/Base/Polygon Much lower gas costs; but smaller audience
Commit-Reveal Two-step process reduces front-running Adds complexity; doesn’t eliminate congestion

Gas Wars and MEV

MEV bots actively participate in gas wars:

  • Monitor mempool for popular mint contract addresses
  • Auto-submit mint transactions the instant the function becomes callable
  • Set priority fees 10–100× above humans to guarantee first block inclusion
  • Can acquire 10–50+ NFTs before most humans get their first

This is why allowlists (which restrict eligible addresses) are more effective than gas optimization alone.


History

  • 2017: CryptoKitties — first notable gas war; network congestion causes Ethereum to lag for weeks
  • 2021 Aug: BAYC, Pudgy Penguins, numerous PFP launches — gas wars become defining UX problem of NFT summer
  • 2022 May: Otherside mint — worst Ethereum gas war ever; ~$150M in gas burned in one event
  • 2022 H2: Bear market cools NFT activity; gas wars subside
  • 2023: Allowlists become industry standard; Dutch auctions gain adoption for premium drops
  • 2024: EIP-4844 reduces L2 costs; many new collections mint on Base, Zora, Solana — avoiding Ethereum L1 gas wars entirely

See Also