Skip to content

Improve Relayer Initialization Behaviour #1003

Closed
@HCastano

Description

@HCastano

Right now the relayer claims to have succesfully initialized the bridge pallet when it
fires off a transaction to a node. However, if the node rejects the transactions (if for
example the init request was submitted with the wrong owner) the relayer has no way of
knowing that its initialization request failed.

We should do two things:

  1. Tweak the wording of the initialization log message to indicate that the bridge might
    not actually be initialized yet (just that the tx was submitted)
  2. Wait for a couple of seconds and follow up with the node to see if the transaction was
    succesful
    • We may need to have the runtime emit an initialized event which the relayer can
      listen for

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions