@@ -30,6 +30,7 @@ import (
3030
3131 logpoller_testdata "github.com/smartcontractkit/chainlink-ton/integration-tests/logpoller/testdata"
3232 pgtest "github.com/smartcontractkit/chainlink-ton/integration-tests/testutils/postgres"
33+ tontest "github.com/smartcontractkit/chainlink-ton/integration-tests/testutils/ton"
3334)
3435
3536const (
@@ -484,7 +485,7 @@ func testCommitReportsMixedHelper(t *testing.T, lp logpoller.Service, logStore l
484485 TxHash : lptypes.TxHash {1 , 2 , 3 , 4 , 5 },
485486 TxLT : 1000 ,
486487 TxTimestamp : baseTimestamp .Add (1 * time .Second ),
487- Block : & ton. BlockIDExt { Workchain : 0 , Shard : - 1 , SeqNo : 100 } ,
488+ Block : tontest . TestBlockIDExt ( 100 ) ,
488489 MCBlockSeqno : 200 ,
489490 MsgIndex : 0 ,
490491 },
@@ -498,7 +499,7 @@ func testCommitReportsMixedHelper(t *testing.T, lp logpoller.Service, logStore l
498499 TxHash : lptypes.TxHash {2 , 3 , 4 , 5 , 6 },
499500 TxLT : 1001 ,
500501 TxTimestamp : baseTimestamp .Add (2 * time .Second ),
501- Block : & ton. BlockIDExt { Workchain : 0 , Shard : - 1 , SeqNo : 101 } ,
502+ Block : tontest . TestBlockIDExt ( 101 ) ,
502503 MCBlockSeqno : 201 ,
503504 MsgIndex : 1 ,
504505 },
@@ -512,7 +513,7 @@ func testCommitReportsMixedHelper(t *testing.T, lp logpoller.Service, logStore l
512513 TxHash : lptypes.TxHash {3 , 4 , 5 , 6 , 7 },
513514 TxLT : 1002 ,
514515 TxTimestamp : baseTimestamp .Add (3 * time .Second ),
515- Block : & ton. BlockIDExt { Workchain : 0 , Shard : - 1 , SeqNo : 102 } ,
516+ Block : tontest . TestBlockIDExt ( 102 ) ,
516517 MCBlockSeqno : 202 ,
517518 MsgIndex : 2 ,
518519 },
@@ -526,7 +527,7 @@ func testCommitReportsMixedHelper(t *testing.T, lp logpoller.Service, logStore l
526527 TxHash : lptypes.TxHash {4 , 5 , 6 , 7 , 8 },
527528 TxLT : 1003 ,
528529 TxTimestamp : baseTimestamp .Add (4 * time .Second ),
529- Block : & ton. BlockIDExt { Workchain : 0 , Shard : - 1 , SeqNo : 103 } ,
530+ Block : tontest . TestBlockIDExt ( 103 ) ,
530531 MCBlockSeqno : 203 ,
531532 MsgIndex : 3 ,
532533 },
@@ -540,7 +541,7 @@ func testCommitReportsMixedHelper(t *testing.T, lp logpoller.Service, logStore l
540541 TxHash : lptypes.TxHash {5 , 6 , 7 , 8 , 9 },
541542 TxLT : 1004 ,
542543 TxTimestamp : baseTimestamp .Add (5 * time .Second ),
543- Block : & ton. BlockIDExt { Workchain : 0 , Shard : - 1 , SeqNo : 104 } ,
544+ Block : tontest . TestBlockIDExt ( 104 ) ,
544545 MCBlockSeqno : 204 ,
545546 MsgIndex : 4 ,
546547 },
@@ -609,7 +610,7 @@ func testCommitReportsBasicHelper(t *testing.T, lp logpoller.Service, logStore l
609610 TxHash : lptypes.TxHash {1 , 2 , 3 , 4 , 5 },
610611 TxLT : 1000 ,
611612 TxTimestamp : logTimestamp ,
612- Block : & ton. BlockIDExt { Workchain : 0 , Shard : - 1 , SeqNo : 100 } ,
613+ Block : tontest . TestBlockIDExt ( 100 ) ,
613614 MCBlockSeqno : 200 ,
614615 MsgIndex : 0 ,
615616 }}, logpoller .DefaultConfigSet .BatchInsertSize , logpoller .DefaultConfigSet .MinBatchSize )
@@ -870,7 +871,7 @@ func testExecutedMessagesHelper(t *testing.T, lp logpoller.Service, logStore log
870871 TxHash : lptypes.TxHash {1 , 2 , 3 , 4 , 5 },
871872 TxLT : 1000 ,
872873 TxTimestamp : baseTimestamp .Add (1 * time .Second ),
873- Block : & ton. BlockIDExt { Workchain : 0 , Shard : - 1 , SeqNo : 100 } ,
874+ Block : tontest . TestBlockIDExt ( 100 ) ,
874875 MCBlockSeqno : 200 ,
875876 MsgLT : 1000 ,
876877 MsgIndex : 0 ,
@@ -884,7 +885,7 @@ func testExecutedMessagesHelper(t *testing.T, lp logpoller.Service, logStore log
884885 TxHash : lptypes.TxHash {2 , 3 , 4 , 5 , 6 },
885886 TxLT : 1001 ,
886887 TxTimestamp : baseTimestamp .Add (2 * time .Second ),
887- Block : & ton. BlockIDExt { Workchain : 0 , Shard : - 1 , SeqNo : 101 } ,
888+ Block : tontest . TestBlockIDExt ( 101 ) ,
888889 MCBlockSeqno : 201 ,
889890 MsgLT : 1001 ,
890891 MsgIndex : 1 ,
@@ -898,7 +899,7 @@ func testExecutedMessagesHelper(t *testing.T, lp logpoller.Service, logStore log
898899 TxHash : lptypes.TxHash {3 , 4 , 5 , 6 , 7 },
899900 TxLT : 1002 ,
900901 TxTimestamp : baseTimestamp .Add (3 * time .Second ),
901- Block : & ton. BlockIDExt { Workchain : 0 , Shard : - 1 , SeqNo : 102 } ,
902+ Block : tontest . TestBlockIDExt ( 102 ) ,
902903 MCBlockSeqno : 202 ,
903904 MsgLT : 1002 ,
904905 MsgIndex : 2 ,
0 commit comments