Closed salman01zp closed 10 months ago
Looks good! We would implement this trait for RelayerContext
too. I would recommend changing the trait functions to expect a ChainId as an argument instead of just returning the ethers client.
One comment also would be to ensure the Store/QueueStore
does not depend on relayer specific things, more genaric over different keys/values.
Overview
The current tx-queue is designed around a relayer use case and requires a lot of additional configuration(
RelayerCtxConfig
) which is not required by the tx-queue.In order to run a tx-queue we require the following things
Provider
for EVM andOnlineClient
for substrateWe can introduce Config traits which can provide us with this information