Skip to content

Commit

Permalink
ci: upgrade tangle types
Browse files Browse the repository at this point in the history
  • Loading branch information
AtelyPham committed Oct 14, 2024
1 parent bf21b72 commit 849f25c
Show file tree
Hide file tree
Showing 4 changed files with 352 additions and 6 deletions.
5 changes: 5 additions & 0 deletions packages/tangle-subql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
],
"author": "Tangle Developers",
"license": "MIT",
"exports": {
"chaintypes": "./src/chaintypes.ts"
},
"devDependencies": {
"@polkadot/api": "^13.2.1",
"@polkadot/types": "^13.2.1",
Expand All @@ -34,7 +37,9 @@
"@subql/testing": "latest",
"@subql/types": "latest",
"@types/pino": "^7.0.5",
"@webb-tools/tangle-substrate-types": "^0.9.1",
"dotenv": "latest",
"tsx": "^4.19.1",
"typescript": "^5.2.2"
}
}
3 changes: 3 additions & 0 deletions packages/tangle-subql/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ const project: SubstrateProject = {
* These settings can be found in your docker-compose.yaml, they will slow indexing but prevent your project being rate limited
*/
endpoint: (process.env.ENDPOINT ?? '').split(',') as string[] | string,
chaintypes: {
file: './dist/chaintypes.js',
},
},
dataSources: [
{
Expand Down
3 changes: 3 additions & 0 deletions packages/tangle-subql/src/chaintypes.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { typesBundleForPolkadot } from '@webb-tools/tangle-substrate-types';

export default { typesBundle: typesBundleForPolkadot };
Loading

0 comments on commit 849f25c

Please sign in to comment.