Skip to content

Commit

Permalink
Merge pull request #118 from subquery/fix-polkadot-starter
Browse files Browse the repository at this point in the history
Fix polkadot starter
  • Loading branch information
jiqiang90 authored Jul 10, 2024
2 parents 8cf04b9 + 7b7ee17 commit 2a72989
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Polkadot/Polkadot-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"@subql/cli": "latest",
"@subql/testing": "latest",
"@subql/types": "latest",
"typescript": "^5.2.2"
"typescript": "^5.2.2",
"@subql/common-substrate": "^4.0.1"
},
"resolutions": {
"ipfs-unixfs": "6.0.6"
Expand Down
2 changes: 1 addition & 1 deletion Polkadot/Polkadot-starter/src/mappings/mappingHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export async function handleEvent(event: SubstrateEvent): Promise<void> {
// logger.info(JSON.stringify(event));
const {
event: {
data: [to, amount],
data: [, to, amount],
},
} = event;

Expand Down

0 comments on commit 2a72989

Please sign in to comment.