-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into osmosis-comments-removal
- Loading branch information
Showing
111 changed files
with
1,584 additions
and
2,331 deletions.
There are no files selected for viewing
File renamed without changes.
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,20 @@ | ||
{ | ||
"compilerOptions": { | ||
"emitDecoratorMetadata": true, | ||
"experimentalDecorators": true, | ||
"esModuleInterop": true, | ||
"declaration": true, | ||
"importHelpers": true, | ||
"resolveJsonModule": true, | ||
"module": "commonjs", | ||
"outDir": "dist", | ||
"rootDir": "src", | ||
"target": "es2017", | ||
"strict": true | ||
}, | ||
"include": [ | ||
"src/**/*", | ||
"../../node_modules/@subql/types-core/dist/global.d.ts", | ||
"../../node_modules/@subql/types-cosmos/dist/global.d.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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
# This file copies over a modified TS config that works with workspaces so we can build all projects | ||
|
||
set -e | ||
|
||
for DEST_PATH in ./*/*/; do | ||
|
||
SRC="./.github/scripts/ci.tsconfig.json" | ||
DEST="${DEST_PATH}tsconfig.json" | ||
|
||
[ -f "$DEST" ] && cp "$SRC" "$DEST" | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ package-lock.json | |
target/ | ||
dist/ | ||
src/types | ||
project.yaml | ||
# project.yaml | ||
|
||
# JetBrains IDE | ||
.idea/ | ||
|
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 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,58 @@ | ||
specVersion: 1.0.0 | ||
name: agoric-starter | ||
version: 0.0.1 | ||
runner: | ||
node: | ||
name: "@subql/node-cosmos" | ||
version: "*" | ||
query: | ||
name: "@subql/query" | ||
version: "*" | ||
description: >- | ||
This project can be use as a starting point for developing your Cosmos (%NETWORK_NAME%) based SubQuery project | ||
repository: "https://github.com/subquery/cosmos-subql-starter" | ||
schema: | ||
file: ./schema.graphql | ||
network: | ||
chainId: agoric-3 | ||
# This endpoint must be a public non-pruned archive node | ||
# We recommend providing more than one endpoint for improved reliability, performance, and uptime | ||
# Public nodes may be rate limited, which can affect indexing speed | ||
# When developing your project we suggest getting a private API key | ||
endpoint: ["https://agoric-rpc.stakely.io"] | ||
# Optionally provide the HTTP endpoint of a full chain dictionary to speed up processing | ||
dictionary: "https://api.subquery.network/sq/subquery/agoric-dictionary" | ||
chaintypes: | ||
cosmos.slashing.v1beta1: | ||
file: ./proto/cosmos/slashing/v1beta1/tx.proto | ||
messages: | ||
- MsgUnjail | ||
cosmos.gov.v1beta1: | ||
file: ./proto/cosmos/gov/v1beta1/tx.proto | ||
messages: | ||
- MsgVoteWeighted | ||
cosmos.gov.v1beta1.gov: | ||
file: ./proto/cosmos/gov/v1beta1/gov.proto | ||
messages: | ||
- WeightedVoteOption | ||
dataSources: | ||
- kind: cosmos/Runtime | ||
startBlock: 11628269 | ||
mapping: | ||
file: ./dist/index.js | ||
handlers: | ||
# Using block handlers slows your project down as they can be executed with each and every block. Only use if you need to | ||
# - handler: handleBlock | ||
# kind: cosmos/BlockHandler | ||
# Using transaction handlers without filters slows your project down as they can be executed with each and every block | ||
# - handler: handleTransaction | ||
- handler: handleEvent | ||
kind: cosmos/EventHandler | ||
filter: | ||
type: transfer | ||
messageFilter: | ||
type: /cosmos.bank.v1beta1.MsgSend | ||
- handler: handleMessage | ||
kind: cosmos/MessageHandler | ||
filter: | ||
type: /cosmos.bank.v1beta1.MsgSend |
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 |
---|---|---|
|
@@ -28,7 +28,7 @@ package-lock.json | |
target/ | ||
dist/ | ||
src/types | ||
project.yaml | ||
# project.yaml | ||
|
||
# JetBrains IDE | ||
.idea/ | ||
|
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.