Skip to content

Commit 3492b5a

Browse files
committed
fix: inf
1 parent 56f9aa1 commit 3492b5a

33 files changed

+2473
-937
lines changed

common/ethereum/blocktime.go

-3
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ func InitBlockTimestamp(chainID uint64) {
135135
if lastWeekBlock.Status == "1" {
136136
blockTimeMap[chainID][7], err = strconv.ParseUint(lastWeekBlock.Result, 10, 64)
137137
if err != nil {
138-
logs.Error(err)
139138
blockTimeMap[chainID][7] = uint64(chain.AvgBlocksPerDay * 7)
140139
}
141140
} else {
@@ -145,7 +144,6 @@ func InitBlockTimestamp(chainID uint64) {
145144
if lastTwoWeekBlock.Status == "1" {
146145
blockTimeMap[chainID][14], err = strconv.ParseUint(lastTwoWeekBlock.Result, 10, 64)
147146
if err != nil {
148-
logs.Error(err)
149147
blockTimeMap[chainID][14] = uint64(chain.AvgBlocksPerDay * 14)
150148
}
151149
} else {
@@ -155,7 +153,6 @@ func InitBlockTimestamp(chainID uint64) {
155153
if lastMonthBlock.Status == "1" {
156154
blockTimeMap[chainID][30], err = strconv.ParseUint(lastMonthBlock.Result, 10, 64)
157155
if err != nil {
158-
logs.Error(err)
159156
blockTimeMap[chainID][30] = uint64(chain.AvgBlocksPerDay * 30)
160157
}
161158
} else {

data/blocktime/1.csv

+2
Original file line numberDiff line numberDiff line change
@@ -1559,3 +1559,5 @@ timestamp,blocknumber,date
15591559
1743940800,22209730,06/04/2025
15601560
1744027200,22216883,07/04/2025
15611561
1744113600,22224043,08/04/2025
1562+
1744200000,22231207,09/04/2025
1563+
1744286400,22238388,10/04/2025

data/blocktime/10.csv

+2
Original file line numberDiff line numberDiff line change
@@ -942,3 +942,5 @@ timestamp,blocknumber,date
942942
1743940800,134171012,06/04/2025
943943
1744027200,134214212,07/04/2025
944944
1744113600,134257412,08/04/2025
945+
1744200000,134300612,09/04/2025
946+
1744286400,134343812,10/04/2025

data/blocktime/100.csv

+2
Original file line numberDiff line numberDiff line change
@@ -398,3 +398,5 @@ timestamp,blocknumber,date
398398
1743940800,39419156,06/04/2025
399399
1744027200,39436085,07/04/2025
400400
1744113600,39453047,08/04/2025
401+
1744200000,39470006,09/04/2025
402+
1744286400,39486952,10/04/2025

data/blocktime/137.csv

+2
Original file line numberDiff line numberDiff line change
@@ -537,3 +537,5 @@ timestamp,blocknumber,date
537537
1743940800,69966177,06/04/2025
538538
1744027200,70006563,07/04/2025
539539
1744113600,70046941,08/04/2025
540+
1744200000,70087225,09/04/2025
541+
1744286400,70127855,10/04/2025

data/blocktime/250.csv

+2
Original file line numberDiff line numberDiff line change
@@ -1280,3 +1280,5 @@ timestamp,blocknumber,date
12801280
1743940800,107852064,06/04/2025
12811281
1744027200,107905158,07/04/2025
12821282
1744113600,107960798,08/04/2025
1283+
1744200000,108013046,09/04/2025
1284+
1744286400,108067882,10/04/2025

data/blocktime/42161.csv

+2
Original file line numberDiff line numberDiff line change
@@ -1173,3 +1173,5 @@ timestamp,blocknumber,date
11731173
1743940800,323517931,06/04/2025
11741174
1744027200,323862476,07/04/2025
11751175
1744113600,324206990,08/04/2025
1176+
1744200000,324551944,09/04/2025
1177+
1744286400,324896588,10/04/2025

data/blocktime/8453.csv

+2
Original file line numberDiff line numberDiff line change
@@ -588,3 +588,5 @@ timestamp,blocknumber,date
588588
1743940800,28575727,06/04/2025
589589
1744027200,28618927,07/04/2025
590590
1744113600,28662127,08/04/2025
591+
1744200000,28705327,09/04/2025
592+
1744286400,28748526,10/04/2025

0 commit comments

Comments
 (0)