Skip to content

Commit ef14583

Browse files
committed
chore: reduce verbosity and update ethers
1 parent 48bc401 commit ef14583

File tree

4 files changed

+360
-364
lines changed

4 files changed

+360
-364
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"dependencies": {
2727
"colors": "^1.4.0",
2828
"delay": "^5.0.0",
29-
"ethers": "^5.4.4",
29+
"ethers": "^5.5.1",
3030
"level": "^6.0.1",
3131
"node-fetch": "^2.6.5"
3232
},

src/gtcr.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -296,15 +296,10 @@ export default async function gtcrBot() {
296296
let i = 1;
297297
for (let tcrAddress of Object.keys(dbState)) {
298298
const tcrWatchList = dbState[tcrAddress];
299-
console.info(`${i} of ${Object.keys(dbState).length}`);
300-
console.info(
301-
` ${Object.keys(tcrWatchList).length} items in the watchlist`
302-
);
303299
i++;
304300

305301
let j = 1;
306302
for (let itemID of Object.keys(tcrWatchList)) {
307-
console.info(` ${j} of ${Object.keys(tcrWatchList).length}`);
308303
j++;
309304

310305
const challengePeriodEnd = dbState[tcrAddress][itemID];

src/light-gtcr-execution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async function run(signer: ethers.Wallet) {
5252
try {
5353
nonce = await signer.getTransactionCount();
5454
} catch (error) {
55-
console.error(`Error fetching nonce`.green);
55+
console.error(`Error fetching nonce`.green, error);
5656
return;
5757
}
5858
try {

0 commit comments

Comments
 (0)