Skip to content

Commit

Permalink
update snjs
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetbout committed Jul 5, 2023
1 parent 050695a commit 966c58b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion analyse/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async function recursiveFetch(block_number: number, continuation_token = "0") {
from_block: { block_number: block_number - 10 },
to_block: { block_number: block_number - 1 },
address: CONTRACT_ADDRESS,
keys: [transfer_selector],
keys: [[transfer_selector]],
chunk_size: 1000,
continuation_token,
});
Expand Down
2 changes: 1 addition & 1 deletion db/block.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "lastProcesssedBlockNumber": 50445, "twitterRefreshToken": "???" }
{ "lastProcesssedBlockNumber": 98000, "twitterRefreshToken": "???" }
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"dotenv": "^16.0.3",
"ethers": "^6.3.0",
"express": "^4.18.2",
"starknet": "^5.11.1",
"starknet": "5.14.1",
"ts-node": "^10.9.1",
"twitter-api-v2": "^1.14.2"
},
Expand Down
2 changes: 1 addition & 1 deletion src/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ async function fetchEvents(
from_block: { block_number: lastBlock },
to_block: { block_number: lastCompleteBlock },
address: token.address,
keys: [selector],
keys: [[selector]],
chunk_size: 1000,
continuation_token,
});
Expand Down

0 comments on commit 966c58b

Please sign in to comment.