File tree Expand file tree Collapse file tree 4 files changed +360
-364
lines changed
Expand file tree Collapse file tree 4 files changed +360
-364
lines changed Original file line number Diff line number Diff line change 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 },
Original file line number Diff line number Diff 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 ] ;
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments