Skip to content

Commit 93e6be9

Browse files
test fix
1 parent ce7ab6e commit 93e6be9

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

vmhost/contexts/blockchain_test.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -413,18 +413,18 @@ func TestBlockchainContext_Getters(t *testing.T) {
413413

414414
mockWorld := &worldmock.MockWorld{
415415
PreviousBlockInfo: &worldmock.BlockInfo{
416-
BlockTimestamp: 6749,
417-
BlockNonce: 90,
418-
BlockRound: 96,
419-
BlockEpoch: 3,
420-
RandomSeed: &randomSeed1,
416+
BlockTimestampMs: 6749_000,
417+
BlockNonce: 90,
418+
BlockRound: 96,
419+
BlockEpoch: 3,
420+
RandomSeed: &randomSeed1,
421421
},
422422
CurrentBlockInfo: &worldmock.BlockInfo{
423-
BlockTimestamp: 6800,
424-
BlockNonce: 98,
425-
BlockRound: 99,
426-
BlockEpoch: 4,
427-
RandomSeed: &randomSeed2,
423+
BlockTimestampMs: 6800_000,
424+
BlockNonce: 98,
425+
BlockRound: 99,
426+
BlockEpoch: 4,
427+
RandomSeed: &randomSeed2,
428428
},
429429
StateRootHash: []byte("root hash"),
430430
}

0 commit comments

Comments
 (0)