-
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.
* sync 2023-02-21 * Clean up * Remove unused functions
- Loading branch information
Showing
22 changed files
with
365 additions
and
131 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 |
---|---|---|
|
@@ -6,4 +6,3 @@ image: | |
|
||
tasks: | ||
- init: yarn install && yarn run build | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
specVersion: 1.0.0 | ||
name: polkadot-starter | ||
version: 0.0.1 | ||
runner: | ||
node: | ||
name: '@subql/node' | ||
version: '*' | ||
query: | ||
name: '@subql/query' | ||
version: '*' | ||
description: >- | ||
This project can be used as a starting point for developing your SubQuery | ||
project | ||
repository: 'https://github.com/subquery/subql-starter' | ||
schema: | ||
file: ./schema.graphql | ||
network: | ||
chainId: '0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3' | ||
endpoint: 'wss://polkadot.api.onfinality.io/public-ws' | ||
dictionary: 'https://api.subquery.network/sq/subquery/polkadot-dictionary' | ||
bypassBlocks: [1, 2, 4, 5] | ||
dataSources: | ||
- kind: substrate/Runtime | ||
startBlock: 1 | ||
mapping: | ||
file: ./dist/index.js | ||
handlers: | ||
- handler: handleBlock | ||
kind: substrate/BlockHandler | ||
- handler: handleEvent | ||
kind: substrate/EventHandler | ||
filter: | ||
module: balances | ||
method: Deposit | ||
- handler: handleCall | ||
kind: substrate/CallHandler |
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,36 @@ | ||
specVersion: 1.0.0 | ||
name: polkadot-starter | ||
version: 0.0.1 | ||
runner: | ||
node: | ||
name: '@subql/node' | ||
version: '*' | ||
query: | ||
name: '@subql/query' | ||
version: '*' | ||
description: >- | ||
This project can be used as a starting point for developing your SubQuery | ||
project | ||
repository: 'https://github.com/subquery/subql-starter' | ||
schema: | ||
file: ./schema.graphql | ||
network: | ||
chainId: '0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3' | ||
endpoint: 'wss://polkadot.api.onfinality.io/public-ws' | ||
dictionary: 'https://api.subquery.network/sq/subquery/polkadot-dictionary' | ||
bypassBlocks: [1, 2, 4, 5, '10 - 40'] | ||
dataSources: | ||
- kind: substrate/Runtime | ||
startBlock: 1 | ||
mapping: | ||
file: ./dist/index.js | ||
handlers: | ||
- handler: handleBlock | ||
kind: substrate/BlockHandler | ||
- handler: handleEvent | ||
kind: substrate/EventHandler | ||
filter: | ||
module: balances | ||
method: Deposit | ||
- handler: handleCall | ||
kind: substrate/CallHandler |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: '3.5' | ||
|
||
services: | ||
crdb: | ||
image: cockroachdb/cockroach:latest-v22.1 | ||
ports: | ||
- '26257:26257' | ||
- '8080:8080' | ||
command: start-single-node --insecure | ||
volumes: | ||
- '${PWD}/cockroach-data/crdb:/cockroach/cockroach-data' |
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
Oops, something went wrong.