In zkGasm (I) we analyzed Union’s gas cost at different parts of the stack and elaborated on the gas cost for both the zkp-based filling (main mode) as well as the intent-based filling scenario. Thanks to valuable benchmarks provided by 0xFust from CashmereLabs (our first public research contribution), we are now writing a follow-up on that article, in which we compare various bridge protocols.
<aside> <img src="/icons/customs_green.svg" alt="/icons/customs_green.svg" width="40px" />
Our contributor benchmarked various bridges over the last 6 months. The numbers are used in this article, including references to the bridge transactions.
</aside>
In a bridging operation's transfer lifecycle, both the user and the filler expend gas to facilitate specific parts of the process, as explained in zkGasm (I) [1]. For this comparison, we split the cost per transfer into cost at the source side and cost at the destination side. Furthermore, for Union, we use the cost for the critical path as described in zkGasm (I), since acknowledgments are not performed by other bridge protocols.
This results in the following graph, from which we can draw several key observations:
I used the most centralized and minimal settings.
We expect that with other DVNs, the cost will be greater.<aside> 💡
</aside>