tangle-network / relayer

🕸️ The Webb Relayer Network
https://webb-tools.github.io/relayer/
Apache License 2.0
22 stars 13 forks source link

[TASK] Process DKG/Substrate extrinsic calls through Tx queue #450

Closed shekohex closed 1 year ago

shekohex commented 1 year ago

Overview

DKG should make use of the Substrate Transaction Queue instead of in-place sending transactions.

Task Checklist

Nutomic commented 1 year ago

Is there an example somewhere how this tx queue should be used?

shekohex commented 1 year ago

Is there an example somewhere how this tx queue should be used?

Here is an example of using the transaction queue: https://github.com/webb-tools/relayer/blob/2b1370e592523931d7f995aa03c8bb4f29eb2547/event-watchers/substrate/src/signature_bridge_watcher.rs#L213-L240