-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use latest subql node v3 and subql query v2 (#980)
* use latest subql node v3 * use project factory * seems do not need atob overrides * fix build * fix build * fix query build * fix docker build * do not throw error if subql stops * fix * add flush interval
- Loading branch information
1 parent
182af49
commit 07b22d4
Showing
36 changed files
with
1,288 additions
and
3,666 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
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,5 +1,9 @@ | ||
FROM onfinality/subql-node:v1.21.2 as subql-node | ||
FROM subquerynetwork/subql-node-substrate:v3.10.1 as subql-node | ||
LABEL maintainer="hello@acala.network" | ||
|
||
VOLUME ["/app"] | ||
WORKDIR /app/packages/evm-subql | ||
|
||
# has to override entry point for now | ||
# https://github.com/subquery/subql/pull/2344 | ||
ENTRYPOINT ["/sbin/tini", "--", "/bin/run"], |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,3 +52,6 @@ Thumbs.db | |
*.wmv | ||
|
||
.yarn | ||
|
||
# auto generated project files | ||
project*.yaml |
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,16 @@ | ||
#!/bin/bash | ||
|
||
projects=( | ||
project-acala.ts | ||
project-acala-840000.ts | ||
project-acala-testnet.ts | ||
project-karura.ts | ||
project-karura-1780000.ts | ||
project-karura-testnet.ts | ||
project-tc9.ts | ||
project.ts | ||
) | ||
|
||
for project in "${projects[@]}"; do | ||
yarn subql codegen -f "$project" || exit 1 | ||
done |
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,4 @@ | ||
import { PROJECT_PARAMS, getProjectConfig } from './project-factory'; | ||
|
||
const params = PROJECT_PARAMS.acala840000; | ||
export default getProjectConfig(params); |
This file was deleted.
Oops, something went wrong.
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,4 @@ | ||
import { PROJECT_PARAMS, getProjectConfig } from './project-factory'; | ||
|
||
const params = PROJECT_PARAMS.acalaTestnet; | ||
export default getProjectConfig(params); |
This file was deleted.
Oops, something went wrong.
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,4 @@ | ||
import { PROJECT_PARAMS, getProjectConfig } from './project-factory'; | ||
|
||
const params = PROJECT_PARAMS.acala; | ||
export default getProjectConfig(params); |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.