Skip to content

Commit

Permalink
Update block
Browse files Browse the repository at this point in the history
  • Loading branch information
0xjojoex committed Dec 14, 2023
1 parent 19038e4 commit 4691482
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/strategies/cake/examples.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"0x5224F9c440589b2D96F74ac9BA65C648260A4480",
"0xcD8efe4072A489DAB0f662FbA328ECc755E7A66f"
],
"snapshot": 33903950
"snapshot": 34337773
},
{
"name": "Example query - before 33903950 snapshot",
"name": "Example query - before 34337773 snapshot",
"strategy": {
"name": "cake",
"params": {
Expand Down
4 changes: 2 additions & 2 deletions src/strategies/cake/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const onChainVotingPower = {
}
};

const veCakeBlockNumber = 33903950;
const veCakeBlockNumber = 34337773;

const abi = [
'function getVotingPowerWithoutPool(address _user) view returns (uint256)'
Expand Down Expand Up @@ -151,7 +151,7 @@ async function veCakeStrategy(addresses, network, provider, blockTag, options) {
[address.toLowerCase()]
]);

callData = [...chunk(callData, options.max || 300)];
callData = [...chunk(callData, options.max || 400)];

const response: any[] = [];
for (const call of callData) {
Expand Down

0 comments on commit 4691482

Please sign in to comment.