fix tests in core/types

This commit is contained in:
Sina Mahmoodi 2025-05-23 17:44:51 +02:00
parent 61222d89cc
commit aa70aaba37

View file

@ -177,6 +177,7 @@ func getTestReceipts() Receipts {
TxHash: txs[0].Hash(), TxHash: txs[0].Hash(),
TxIndex: 0, TxIndex: 0,
BlockHash: blockHash, BlockHash: blockHash,
BlockTimestamp: blockTime,
Index: 0, Index: 0,
}, },
{ {
@ -187,6 +188,7 @@ func getTestReceipts() Receipts {
TxHash: txs[0].Hash(), TxHash: txs[0].Hash(),
TxIndex: 0, TxIndex: 0,
BlockHash: blockHash, BlockHash: blockHash,
BlockTimestamp: blockTime,
Index: 1, Index: 1,
}, },
}, },
@ -211,6 +213,7 @@ func getTestReceipts() Receipts {
TxHash: txs[1].Hash(), TxHash: txs[1].Hash(),
TxIndex: 1, TxIndex: 1,
BlockHash: blockHash, BlockHash: blockHash,
BlockTimestamp: blockTime,
Index: 2, Index: 2,
}, },
{ {
@ -221,6 +224,7 @@ func getTestReceipts() Receipts {
TxHash: txs[1].Hash(), TxHash: txs[1].Hash(),
TxIndex: 1, TxIndex: 1,
BlockHash: blockHash, BlockHash: blockHash,
BlockTimestamp: blockTime,
Index: 3, Index: 3,
}, },
}, },