Skip to content

Commit

Permalink
Chaintypes & Endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
bgodlin committed Mar 30, 2024
1 parent c039266 commit aab2fb4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Reef/reef-starter/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ const project: SubstrateProject = {
* If you use a rate limited endpoint, adjust the --batch-size and --workers parameters
* These settings can be found in your docker-compose.yaml, they will slow indexing but prevent your project being rate limited
*/
endpoint: ["wss://rpc.reefscan.com/ws", "wss://rpc.reefscan.info/ws"],
endpoint: ["wss://rpc.reefscan.com/ws"],
chaintypes: {
file: "./dist/chaintypes.js",
file: "./src/chaintypes.json",
},
},
dataSources: [
Expand Down
12 changes: 9 additions & 3 deletions Reef/reef-starter/src/chaintypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@
},
"CurrencyIdOf": "CurrencyId",
"AuthoritysOriginId": {
"_enum": ["Root"]
"_enum": [
"Root"
]
},
"TradingPair": "(CurrencyId, CurrencyId)",
"AsOriginId": "AuthoritysOriginId",
Expand Down Expand Up @@ -206,7 +208,11 @@
}
},
"LockDuration": {
"_enum": ["OneMonth", "OneYear", "TenYears"]
"_enum": [
"OneMonth",
"OneYear",
"TenYears"
]
},
"EraIndex": "u32",
"Era": {
Expand All @@ -229,4 +235,4 @@
"height": "BlockNumber",
"index": "u32"
}
}
}

0 comments on commit aab2fb4

Please sign in to comment.