arXiv:2609.09742cs.DCSep 2026

Manuscript Offprint

arXiv:2609.09742

Breaking Fault Lines: Unifying TEE-Assisted BFT Consensus in Partially Trusted Worlds

Xiaoqing Wen, Tong Liu, Jianyu Niu, Jialin Li, Cong Wang, Yinqian Zhang, Chen Feng

Xiaoqing Wen

University of British Columbia

Kelowna, Canada

Tong Liu

Southern University of Science and Technology

Shenzhen, China

Jianyu Niu

City University of Hong Kong

Hong Kong, Hong Kong

Jialin Li

National University of Singapore

Singapore, Singapore

Cong Wang

City University of Hong Kong

Hong Kong, Hong Kong

Yinqian Zhang

Southern University of Science and Technology

Shenzhen, China

Chen Feng

University of British Columbia

Kelowna, Canada

Abstract

This paper revisits TEE-assisted BFT under a universal partial-TEE model, where an arbitrary subset of replicas execute inside TEEs while the remaining replicas operate without hardware trust guarantees. We show that heterogeneous trust changes the structure of quorum formation and fault tolerance. In particular, we derive a tight resilience bound f<max⁡{n3,m2}f < \max\{\frac{n}{3}, \frac{m}{2}\}, where nn is the total number of replicas and mm is the number of TEE-enabled replicas. The result reveals a sharp threshold phenomenon: TEEs improve fault tolerance only once they exceed two-thirds of the deployment.

Guided by this characterization, we introduce two protocol principles: (1) a dual-quorum construction that safely combines TEE-only and mixed quorums, and (2) a TEE-leader fast path that leverages hardware-enforced non-equivocation to reduce both consensus and view-change latency. We realize these ideas in RAFTEL, which is, to our knowledge, the first HotStuff-style BFT protocol designed explicitly for arbitrary partial-TEE deployments, and in CHAINED-RAFTEL, a pipelined variant that further accelerates mixed-trust execution. We implement both protocols atop Intel SGX and evaluate them in LAN and WAN environments. Our results show that RAFTEL achieves up to 625 TPS with sub-670 ms latency in WAN settings, outperforming HotStuff by up to 308 TPS in throughput while approaching the performance of fully TEE-assisted protocols.

1 Introduction

Byzantine fault-tolerant (BFT) consensus protocols lie at the heart of distributed systems such as blockchains [24, 28]. They allow a network of replicas to agree on a sequence of transactions despite adversarial behaviors by a subset of replicas [7, 77]. This strong fault model provides robustness under adversarial behavior, but incurs substantial replication and communication overhead. To tolerate ff Byzantine faults, classical BFT requires at least 3f+13f + 1 replicas—compared to 2f+12f + 1 for crash fault tolerance—and incurs heavy communication overhead, often involving three or more phases per decision [49]. These costs limit the scalability of BFT protocols in practice.

Trusted Execution Environments (TEEs), such as Intel SGX [31], offer a promising way to bridge this gap. By preventing equivocation through hardware guarantees, TEEs can reduce the quorum size (as low as 2f+12f + 1) and communication rounds of BFT protocols. In fact, prior TEE-assisted BFT protocols [15, 53, 76] have demonstrated near-CFT performance while preserving Byzantine resilience.

Unfortunately, most existing designs in the literature rely on a strong and increasingly unrealistic assumption: all replicas are equipped with TEEs. In practice, modern deployments are inherently heterogeneous. Cloud providers expose different trusted-computing technologies with varying capabilities and trust assumptions. TEE-enabled instances are often restricted to specific hardware types, regions, or pricing tiers. Large distributed systems evolve incrementally, making simultaneous migration of all replicas impractical. In permissionless and decentralized settings, requiring universal TEE provisioning further undermines openness and raises participation barriers.

Consequently, emerging systems increasingly operate in a mixed-trust regime, where only a subset of replicas can provide hardware-enforced guarantees. This setting fundamentally challenges existing consensus designs. Classical BFT assumes that no replicas are trusted, while prior TEE-assisted protocols assume homogeneous trust across all replicas. Real deployments satisfy neither assumption. Instead, consensus protocols must operate under heterogeneous trust, where TEE-enabled and non-TEE replicas coexist within the same protocol execution. This raises a fundamental question: How should BFT consensus protocols exploit heterogeneous trust under arbitrary mixtures of TEE and non-TEE replicas?

Xiaoqing Wen, Tong Liu, Jianyu Niu, Jialin Li, Cong Wang, Yinqian Zhang, and Chen Feng

In this paper, we revisit TEE-assisted BFT under a universal partial-TEE model that generalizes both classical BFT [7, 77] and fully TEE-assisted consensus [15, 37, 53]. We consider a deployment of nn replicas, among which only mm replicas are TEE-enabled. Within this model, we derive a tight fault-tolerance bound:

f<max⁡{n3,m2},f < \max \left\{ \frac{n}{3}, \frac{m}{2} \right\},

where ff denotes the number of Byzantine replicas.

This characterization reveals an important and previously overlooked phenomenon: partial TEE deployment does not improve resilience monotonically. Instead, the system exhibits a sharp threshold effect. When TEE-enabled replicas remain below two-thirds of the deployment (i.e.,m/2≤n/3i.e., m/2 \le n/3), fault tolerance is still fundamentally bounded by classical BFT limits; TEEs can improve efficiency, but not resilience. Only once TEE-enabled replicas exceed this threshold (i.e.,m/2>n/3i.e., m/2 > n/3) does hardware-enforced non-equivocation directly increase fault tolerance.

Guided by this characterization, we identify two protocol principles for consensus under heterogeneous trust:

  • Dual-quorum construction. Because TEE-enabled replicas cannot equivocate, safety can be established using either a TEE-only quorum or a classical mixed quorum. We therefore introduce a dual-quorum design that safely combines: (i) a TEE-Quorum consisting exclusively of TEE votes, and (ii) a Mixed-Quorum consisting of arbitrary replicas. When sufficient TEE replicas are available, the protocol commits using smaller and faster TEE-Quorums; otherwise, it safely falls back to classical BFT quorum formation.

  • TEE-leader fast path. Classical BFT protocols require additional communication phases to guard against leader equivocation during proposal and view-change. Under a TEE-enabled leader, however, equivocation is prevented by a TEE-protected trusted component, authenticated via hardware attestation [9, 36]. We exploit this property to bypass two phases and accelerate view synchronization, reducing both consensus latency and leader-change overhead while preserving compatibility with non-TEE execution paths.

We realize these ideas in RAFTEL¹, to the best of our knowledge, the first HotStuff-style BFT protocol designed explicitly for arbitrary partial-TEE deployments. RAFTEL builds on the chained structure and rapid leader rotation of HotStuff [77] and Damysus [15], while introducing heterogeneous quorum formation and TEE-aware fast paths. To support these mechanisms efficiently, we consolidate Damysus's trusted components into a unified trusted module, CHECKER+, which minimizes enclave transitions while supporting TEE-specific protocol logic.

We further propose CHAINED-RAFTEL, a pipelined variant that extends the chained execution model. In particular, CHAINED-RAFTEL introduces a pipelined commit rule in which blocks proposed by non-TEE leaders can be committed earlier once extended by TEE-led proposals. This optimization reduces latency even in mixed-trust deployments where only a subset of leaders are TEE-enabled.

We implement RAFTEL and CHAINED-RAFTEL atop Damysus using Intel SGX and evaluate them in both LAN and WAN environments. We compare against HotStuff, Damysus, and Achilles across deployments with up to f=32f = 32 Byzantine faults. Our experimental results show that RAFTEL achieves up to 625 TPS with sub-670 ms latency in WAN settings. Compared with HotStuff, RAFTEL improves throughput by up to 1.02×1.02\times while reducing latency by 61%, approaching the performance of fully TEE-assisted protocols.

Contributions. The main contributions are as follows:

  • Universal partial-TEE model. We formalize a universal model for TEE-assisted BFT consensus under arbitrary mixtures of TEE and non-TEE replicas, and derive a tight fault-tolerance bound characterizing consensus under heterogeneous trust.

  • Design principles for heterogeneous trust. We introduce a dual-quorum construction and TEE-aware fast paths that exploit hardware-enforced non-equivocation while remaining safe under arbitrary partial deployment.

  • Protocol design and implementation. We design and implement RAFTEL and CHAINED-RAFTEL, the first HotStuff-style protocols supporting arbitrary partial-TEE deployments.

  • Evaluation. We evaluate our prototype on Intel SGX in LAN and WAN settings, demonstrating substantial performance improvements over classical BFT protocols while approaching the performance of fully TEE-assisted systems.

References (55)