Skip to content

Commit

Permalink
test script fix
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed Nov 2, 2022
1 parent 648ab09 commit aae7c80
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ sdk.api.abi.call = async (...args) => {
const chains = Object.keys(module).filter(item => typeof module[item] === 'object' && !Array.isArray(module[item]));
checkExportKeys(module, passedFile, chains)
const unixTimestamp = Math.round(Date.now() / 1000) - 60;
// const { chainBlocks } = await getCurrentBlocks(chains);
const chainBlocks = {}
const { chainBlocks } = await getCurrentBlocks([]); // fetch only ethereum block for local test
const ethBlock = chainBlocks.ethereum;
const usdTvls = {};
const tokensBalances = {};
Expand Down

0 comments on commit aae7c80

Please sign in to comment.