@@ -93,12 +93,17 @@ func runTests(t *testing.T, data []byte, processor *datafeeds.Processor, por boo
9393
9494 BenchmarkVal : math .NaN (),
9595
96- BlockHash : "0xaa" ,
97- BlockHeight : "17" ,
98- BlockTimestamp : 0x66f5bf69 ,
96+ BlockData : & commonpb.BlockData {
97+ BlockHash : "0xaa" ,
98+ BlockHeight : "17" ,
99+ BlockTimestamp : 0x66f5bf69 ,
100+ },
101+
102+ TransactionData : & commonpb.TransactionData {
103+ TxSender : "example-transmitter" ,
104+ TxReceiver : "example-forwarder" ,
105+ },
99106
100- TxSender : "example-transmitter" ,
101- TxReceiver : "example-forwarder" ,
102107 ExecutionContext : & commonpb.ExecutionContext {},
103108 },
104109 {
@@ -109,12 +114,17 @@ func runTests(t *testing.T, data []byte, processor *datafeeds.Processor, por boo
109114 Report : []uint8 {},
110115 BenchmarkVal : 3000.69 ,
111116
112- BlockHash : "0xaa" ,
113- BlockHeight : "17" ,
114- BlockTimestamp : 0x66f5bf69 ,
117+ BlockData : & commonpb.BlockData {
118+ BlockHash : "0xaa" ,
119+ BlockHeight : "17" ,
120+ BlockTimestamp : 0x66f5bf69 ,
121+ },
122+
123+ TransactionData : & commonpb.TransactionData {
124+ TxSender : "example-transmitter" ,
125+ TxReceiver : "example-forwarder" ,
126+ },
115127
116- TxSender : "example-transmitter" ,
117- TxReceiver : "example-forwarder" ,
118128 ExecutionContext : & commonpb.ExecutionContext {},
119129 },
120130 }
@@ -154,10 +164,11 @@ func runTests(t *testing.T, data []byte, processor *datafeeds.Processor, por boo
154164 Transmitter : "example-transmitter" ,
155165 Success : true ,
156166
157- // Block Info
158- BlockHash : "0xaa" ,
159- BlockHeight : "17" ,
160- BlockTimestamp : 0x66f5bf69 ,
167+ BlockData : & commonpb.BlockData {
168+ BlockHash : "0xaa" ,
169+ BlockHeight : "17" ,
170+ BlockTimestamp : 0x66f5bf69 ,
171+ },
161172
162173 ExecutionContext : & commonpb.ExecutionContext {},
163174 },
0 commit comments