This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
Relayers coincidence transactions ordering solution/service? #239
Labels
P3 Low
Priority 1 - 3 Low, 4 - 6 Mid, 7 - 9 High
Different relayers could send the same header/message relay at the same, this could cause duplicate calls, only one will success, others will fail, resulting waste of gas fee and extrinsic fees. This is a disincentive for relayers to participate in the network.
For substrate nodes(Darwinia etc.), we can use extrinsic validation in tx pool(before block inclusion) to filtering the txs, and only include one of them. (Related: darwinia-network/darwinia-common#669)
But for chains like ethereum, they do not support such customization of validation in tx_pool or block pre_validation. A solution to resolve this might be developing an ordering service for txs, relayers could first send txs to this service, and this ordering service will help order and filter, then redirect one to the target network nodes. This is practical now, but may have shortcomings of being centralized and censorship.
This could be decentralized using decentralized network later which requires much more engineering effort, thus decentralizing is low priority for now IMO.
The text was updated successfully, but these errors were encountered: