Skip to content

Commit

Permalink
Added chainId to failed get block Sentry event data.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Sep 30, 2023
1 parent ebb0bfa commit 62b672e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scripts/export/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const main = async () => {
})

// Initialize state.
await State.createSingletonIfMissing()
const state = await State.createSingletonIfMissing()

// Create CosmWasm client that batches requests.
const httpClient = new HttpBatchClient(config.rpc)
Expand Down Expand Up @@ -101,6 +101,7 @@ const main = async () => {
script: 'export',
},
extra: {
chainId: state.chainId,
trace,
blockHeight,
},
Expand Down

0 comments on commit 62b672e

Please sign in to comment.