Skip to content

Add monitor to track failed claims #25

@0xSasaPrsic

Description

@0xSasaPrsic

Add a monitor that will be triggered if there is a failed claim.
This can be achieved as a query to the new bridge monitoring service which will be running every x minutes and filter all failed vector execute extrinsics via subquery and check what is the call data.

Example query:

{
  extrinsics(
    first: 10,
    offset: 0,
    orderBy: TIMESTAMP_DESC
    filter: {
      module: { equalTo: "vector" }
      call: { equalTo: "execute" }
      success: { equalTo: false }
    }
  ) {
    totalCount
    nodes {
      id
      timestamp
      module
      extrinsicIndex
      success
      argsName
      argsValue
      blockId
    }
  }
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions