Proving a blockchain’s state and finality lies at the root of secure bridging and consensus verification. Tendermint, although designed for fast, single-slot finality, is not suited for bridging to block space-restricted chains, such as Ethereum. It requires too much computation to verify, and even creating zero-knowledge proofs of the verification is expensive, slow, and scales poorly with the number of validators. Most attempts to bridge to Ethereum before Union are centralized and not based on consensus verification.
CometBLS is an improvement upon Tendermint which makes it suitable for zero-knowledge proving. Currently, this is achieved by two major changes to CometBFT, with further improvement pending. These improvements will decrease proving times even further, leading to faster bridging transfers and cheaper relaying.
Boneh–Lynn–Shacham (BLS) signatures form the foundation of CometBLS. They are cheaper to verify for both regular IBC and zero-knowledge-proof (zkp) based IBC. With BLS signatures, we can aggregate the public keys and the signatures, and verify the aggregated signature with the aggregated private key. This has a few advantages:
Note that the Union validators do not produce zkps directly. This function is performed by galois. Relayers can produce proofs themselves, or use Union as a distributed sequencing layer through the use of proof claims.
Under CometBLS, the Union network can scale to over a hundred validators without impacting performance or bridging latency.
We can scale the validator set using distributed validator tech (DVT) even more, allowing the Union network to effectively support thousands of validators. The foundation for this scaling is once again BLS signatures, which allows us to aggregate signed votes in smaller steps:
The network can handle a hybrid set of regular and distributed validators, and recursively expand the DVT set without incurring any extra cost on the consensus or prover.
CometBLS V2 will support improvements focussed on reducing proving times and proving costs.
Reducing the number of light client updates required for the secure operation of the bridge is crucial to relayer profitability, which in turn reduces fees for regular users. Epoch Staking is our current effort to minimize ‘useless’ light client updates and proof generation. It combines designs from Polkadot consensus with Cosmos’ governance and security models.