-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
substrate: allow to configure finalityConfirmation in substrate proce…
…ssor (#315) * add finalityConfirmation to substrate processor * simplify getFinalizedHeight if finalityConfirmation is specified * retry in case of reorg * retry both rpc calls
- Loading branch information
Showing
8 changed files
with
110 additions
and
29 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
common/changes/@subsquid/substrate-data-raw/substrate-finality_2024-07-22-00-43.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@subsquid/substrate-data-raw", | ||
"comment": "allow to use finalityConfirmation to determine finalized blocks", | ||
"type": "minor" | ||
} | ||
], | ||
"packageName": "@subsquid/substrate-data-raw" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@subsquid/substrate-data/substrate-finality_2024-07-22-00-43.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@subsquid/substrate-data", | ||
"comment": "accept finalityConfirmation in `RpcDataSourceOptions`", | ||
"type": "minor" | ||
} | ||
], | ||
"packageName": "@subsquid/substrate-data" | ||
} |
10 changes: 10 additions & 0 deletions
10
common/changes/@subsquid/substrate-processor/substrate-finality_2024-07-22-00-43.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@subsquid/substrate-processor", | ||
"comment": "allow to use finalityConfirmation if `chain_getFinalizedHead` is not an option", | ||
"type": "minor" | ||
} | ||
], | ||
"packageName": "@subsquid/substrate-processor" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters