forked from subquery/subql
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* move node-core * working but need tidy up poc with indexing tidy up * use EnqueueBlock * draft * Update packages/node-core/src/indexer/blockDispatcher/block-dispatcher.ts Co-authored-by: Scott Twiname <[email protected]> * draft * generalization draft * tidy up * Fix runtime issue * working * rename update before fix types fix types tidy up * update interface * fix v1 tests * update tests * update interface and tests * fix test and change enqueue type * fix modulo and bypass blocks * tidy up * tidy up and more fixes * Update packages/node-core/src/indexer/blockDispatcher/worker-block-dispatcher.ts Co-authored-by: Scott Twiname <[email protected]> * Update packages/node-core/src/indexer/blockDispatcher/worker-block-dispatcher.ts Co-authored-by: Scott Twiname <[email protected]> * Fix part 1 * Fix part 2 * Update packages/node/src/indexer/dictionary/v2/ethDictionaryV2.ts Co-authored-by: Scott Twiname <[email protected]> * Update packages/node/src/indexer/dictionary/v2/types.ts Co-authored-by: Scott Twiname <[email protected]> * Update packages/node/src/indexer/dictionary/v2/ethDictionaryV2.ts Co-authored-by: Scott Twiname <[email protected]> * Fix part 3 * Fix part 4 * Fix part 5 * Fix worker fetching * Add feature disable dictionary, timeout inspection query * private getDictionary * Fix part 6 * Fix update v2 metadata when getData * other fixes * other fixes * remove node-core, update dependencies * update * remove FAT * fix formatter * Update packages/node/src/ethereum/utils.ethereum.ts Co-authored-by: Scott Twiname <[email protected]> * tidy up * fix isFullBlock * fix node-core version * Update packages/node/src/indexer/dictionary/v2/ethDictionaryV2.ts Co-authored-by: Scott Twiname <[email protected]> * Update packages/node/src/indexer/dictionary/v1/ethDictionaryV1.ts Co-authored-by: Scott Twiname <[email protected]> * Fix1 * tests * Fix2 * tidy up * fix dependencies * fix dependencies * fix tests * Fix converting dict block to eth block, add tests (#265) * Fix converting dict block to eth block, add tests * Fix tx being empty --------- Co-authored-by: Scott Twiname <[email protected]>
- Loading branch information
Showing
38 changed files
with
1,692 additions
and
1,220 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -9,3 +9,5 @@ | |
*.tgz | ||
*.cmd | ||
*.sh | ||
generate-project*.yaml | ||
*.proto |
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
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
6 changes: 4 additions & 2 deletions
6
packages/node/src/indexer/blockDispatcher/ethereum-block-dispatcher.ts
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 |
---|---|---|
@@ -1,8 +1,10 @@ | ||
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors | ||
// SPDX-License-Identifier: GPL-3.0 | ||
|
||
import { IBlockDispatcher } from '@subql/node-core'; | ||
import { IBlockDispatcher, IBlock } from '@subql/node-core'; | ||
import { EthereumBlock } from '@subql/types-ethereum'; | ||
|
||
export interface IEthereumBlockDispatcher extends IBlockDispatcher { | ||
export interface IEthereumBlockDispatcher | ||
extends IBlockDispatcher<EthereumBlock> { | ||
init(onDynamicDsCreated: (height: number) => Promise<void>): Promise<void>; | ||
} |
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
Oops, something went wrong.