Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add monitor to track failed claims #25

Open
0xSasaPrsic opened this issue Aug 12, 2024 · 0 comments
Open

Add monitor to track failed claims #25

0xSasaPrsic opened this issue Aug 12, 2024 · 0 comments
Assignees

Comments

@0xSasaPrsic
Copy link
Member

0xSasaPrsic commented Aug 12, 2024

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
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants