Skip to content

Commit

Permalink
97-test
Browse files Browse the repository at this point in the history
  • Loading branch information
sanbir committed Mar 4, 2024
1 parent 75dcf39 commit 2fe9f8a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions 97-test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import "dotenv/config"
import {logger} from "./scripts/helpers/logger";
import {reTryWithdrawWithExistingTree} from "./scripts/reTryWithdrawWithExistingTree";
import {getRowsFromBigQuery} from "./scripts/getRowsFromBigQuery";

async function main() {
logger.info('97-test started')

const indexesWithAmounts = await getRowsFromBigQuery(
[1217607],
new Date('2024-02-01'),
new Date('2024-03-01')
)


logger.info('97-test finished')
}

// We recommend this pattern to be able to use async/await everywhere
// and properly handle errors.
main().catch((error) => {
console.error(error);
process.exitCode = 1;
});

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"07-withdraw": "ts-node 07-withdraw.ts",
"98-re-try-withdraw": "ts-node 98-re-try-withdraw.ts",
"99-get-fee-distributors-with-balance-ssv": "ts-node 99-get-fee-distributors-with-balance-ssv.ts",
"97-test": "ts-node 97-test.ts",
"start": "ts-node index.ts"
}
}

0 comments on commit 2fe9f8a

Please sign in to comment.