Pearl: TEE-Enabled Fair Ordering with Minimal Replication
Vian Robotin, Jérémie Decouchant, Shaokang Xie, Dakai Kang, Mohammad Sadoghi
cs.DC
Nov 23, 2026 · v1
cs.CR
TL;DR
Impossibility results and the safety and liveness of both Pearl protocol variants are machine-checked in Lean 4 on a model of the protocols.
Abstract
Recent research has investigated fair transaction ordering in blockchain consensus. An orthogonal line of work has demonstrated that equipping replicas with trusted execution environments (TEEs) enables more efficient consensus protocols with only $2f{+}1$ replicas. In this work, we bridge these two areas and demonstrate that two key fair-ordering properties, ordering linearizability and $γ$-batch-order fairness with minimal batching, cannot be implemented in partially synchronous networks with $2f{+}1$ replicas, even when the replicas are equipped with TEEs. We show that Byzantine replicas can circumvent TEE protections by manipulating the timing of transaction submissions to the enclave, thereby biasing the resulting ordering indicators. However, we prove that assuming a synchronous network allows both properties to be implemented with a reduced replica count. We propose two mechanisms: one uses absolute TEE-attested timestamps to guarantee ordering linearizability in a system of $n \ge 2f{+}1$ replicas, and the other uses TEE-maintained relative sequence numbers to guarantee $γ$-batch-order fairness when $n > \frac{2γf}{2γ-1}$. Ultimately, we integrate these mechanisms into a synchronous lane-based consensus algorithm, achieving strong fair-ordering properties and superior performance while requiring fewer replicas than representative state-of-the-art baselines.
Problem
Fair transaction ordering in BFT consensus (ordering linearizability and γ-batch-order fairness) has required at least 3f+1 replicas. It is unclear whether trusted execution environments (TEEs), which reduce standard BFT to 2f+1 replicas, also allow fair ordering with fewer replicas.
Approach
The authors prove that neither property can be achieved with 2f+1 replicas in partially synchronous networks, even with TEEs, because Byzantine hosts can manipulate when transactions reach the enclave. Under synchrony they propose two mechanisms: TEE-attested absolute timestamps for ordering linearizability (n ≥ 2f+1), and TEE-maintained sequence counters for γ-batch-order fairness (n > 2γf/(2γ−1)). These are integrated into a lane-based protocol built on Autobahn-style dissemination and Sync HotStuff. The impossibility results and the safety and liveness of both variants are machine-checked in Lean 4.
Results
A C++ prototype on ResilientDB with SGX (simulation mode) on DAS-5 reaches up to 40k tx/s at n=7, with latency of 226–302 ms. It outperforms Pompē, Themis, FairDAG and Tusk baselines while using fewer replicas.