@@ -104,7 +104,7 @@ func testCallTracer(tracerName string, dirPath string, t *testing.T) {
104104 Transfer : core .Transfer ,
105105 Coinbase : test .Context .Miner ,
106106 BlockNumber : new (big.Int ).SetUint64 (uint64 (test .Context .Number )),
107- Time : new (big. Int ). SetUint64 ( uint64 (test .Context .Time ) ),
107+ Time : uint64 (test .Context .Time ),
108108 Difficulty : (* big .Int )(test .Context .Difficulty ),
109109 GasLimit : uint64 (test .Context .GasLimit ),
110110 }
@@ -214,7 +214,7 @@ func benchTracer(tracerName string, test *callTracerTest, b *testing.B) {
214214 Transfer : core .Transfer ,
215215 Coinbase : test .Context .Miner ,
216216 BlockNumber : new (big.Int ).SetUint64 (uint64 (test .Context .Number )),
217- Time : new (big. Int ). SetUint64 ( uint64 (test .Context .Time ) ),
217+ Time : uint64 (test .Context .Time ),
218218 Difficulty : (* big .Int )(test .Context .Difficulty ),
219219 GasLimit : uint64 (test .Context .GasLimit ),
220220 }
@@ -286,7 +286,7 @@ func testContractTracer(tracerName string, dirPath string, t *testing.T) {
286286 Transfer : core .Transfer ,
287287 Coinbase : test .Context .Miner ,
288288 BlockNumber : new (big.Int ).SetUint64 (uint64 (test .Context .Number )),
289- Time : new (big. Int ). SetUint64 ( uint64 (test .Context .Time ) ),
289+ Time : uint64 (test .Context .Time ),
290290 Difficulty : (* big .Int )(test .Context .Difficulty ),
291291 GasLimit : uint64 (test .Context .GasLimit ),
292292 }
0 commit comments