Midnight Blockchain Can Partially Succeed: What Developers Must Know
Unlike Ethereum or Solana, Midnight's transaction model allows a transaction to partially succeed — with some sections committing to the ledger even if others fail. Every Midnight transaction passes through three sequential stages: well-formedness, a guaranteed phase, and a fallible phase. If a transaction fails during the guaranteed phase it is rejected entirely, but a failure in the fallible phase still preserves any state changes made during the guaranteed phase. Critically, fees for all phases are collected upfront during the guaranteed phase and are not refunded if fallible work fails. Developers building on Midnight must account for this partial-success model to avoid unintended half-updated states and unexpected fee losses.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in