Skip to content

Commit

Permalink
Merge pull request #757 from subspace/feat/addOperatorsInStakingSquid
Browse files Browse the repository at this point in the history
Add operators in staking squid
  • Loading branch information
marc-aurele-besner authored Jul 22, 2024
2 parents 42379ef + efc4173 commit 55250c9
Show file tree
Hide file tree
Showing 34 changed files with 2,826 additions and 293 deletions.
3 changes: 3 additions & 0 deletions indexers/staking-squid/.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
DB_NAME=squid
DB_NAME=staking-squid
DB_PORT=23798
GQL_PORT=4350

RPC_CONSENSUS_HTTP=wss://rpc-0.gemini-3h.subspace.network/ws
CONSENSUS_GATEWAY="https://v2.archive.subsquid.io/network/gemini-3h"
RPC_CONSENSUS_HTTP="wss://rpc-squids.gemini-3h.subspace.network/ws"
45 changes: 0 additions & 45 deletions indexers/staking-squid/.github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

2 changes: 2 additions & 0 deletions indexers/staking-squid/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@

# IDE files
/.idea

/src/model/generated/
3 changes: 0 additions & 3 deletions indexers/staking-squid/assets/README.MD

This file was deleted.

27 changes: 20 additions & 7 deletions indexers/staking-squid/commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,31 @@
},
"serve": {
"description": "Start the GraphQL API server",
"cmd": ["squid-graphql-server"]
"cmd": ["squid-graphql-server", "--subscriptions"]
},
"serve:prod": {
"description": "Start the GraphQL API server with caching and limits",
"cmd": ["squid-graphql-server",
"--dumb-cache", "in-memory",
"--dumb-cache-ttl", "1000",
"--dumb-cache-size", "100",
"--dumb-cache-max-age", "1000" ]
"cmd": [
"squid-graphql-server",
"--subscriptions",
"--dumb-cache",
"in-memory",
"--dumb-cache-ttl",
"1000",
"--dumb-cache-size",
"100",
"--dumb-cache-max-age",
"1000"
]
},
"check-updates": {
"cmd": ["npx", "--yes", "npm-check-updates", "--filter=/subsquid/", "--upgrade"],
"cmd": [
"npx",
"--yes",
"npm-check-updates",
"--filter=/subsquid/",
"--upgrade"
],
"hidden": true
},
"bump": {
Expand Down
29 changes: 0 additions & 29 deletions indexers/staking-squid/db/migrations/1659350771447-Data.js

This file was deleted.

Loading

0 comments on commit 55250c9

Please sign in to comment.