@@ -51,7 +51,7 @@ public void testMatchingFilter_receivesLogElements() throws JsonRpcInvalidParams
5151 List <TransactionInfo > txInfoList =
5252 Collections .singletonList (buildTxInfoWithLog (new byte [20 ]));
5353 LogsFilterCapsule capsule =
54- new LogsFilterCapsule (150L , "0xabcdef" , null , txInfoList , false , false );
54+ new LogsFilterCapsule (150L , "0xabcdef" , null , txInfoList , false , false , jsonRpc );
5555
5656 jsonRpc .handleLogsFilter (capsule );
5757
@@ -69,7 +69,7 @@ public void testBlockNumberBelowRange_noResult() throws JsonRpcInvalidParamsExce
6969 List <TransactionInfo > txInfoList =
7070 Collections .singletonList (buildTxInfoWithLog (new byte [20 ]));
7171 LogsFilterCapsule capsule =
72- new LogsFilterCapsule (50L , "0xabcdef" , null , txInfoList , false , false );
72+ new LogsFilterCapsule (50L , "0xabcdef" , null , txInfoList , false , false , jsonRpc );
7373
7474 jsonRpc .handleLogsFilter (capsule );
7575
@@ -93,7 +93,7 @@ public void testExpiredFilter_removedFromMap() throws Exception {
9393 List <TransactionInfo > txInfoList =
9494 Collections .singletonList (buildTxInfoWithLog (new byte [20 ]));
9595 LogsFilterCapsule capsule =
96- new LogsFilterCapsule (150L , "0xabcdef" , null , txInfoList , false , false );
96+ new LogsFilterCapsule (150L , "0xabcdef" , null , txInfoList , false , false , jsonRpc );
9797
9898 jsonRpc .handleLogsFilter (capsule );
9999
@@ -113,7 +113,7 @@ public void testSolidifiedCapsule_routedToSolidityMap() throws JsonRpcInvalidPar
113113 List <TransactionInfo > txInfoList =
114114 Collections .singletonList (buildTxInfoWithLog (new byte [20 ]));
115115 LogsFilterCapsule capsule =
116- new LogsFilterCapsule (150L , "0xabcdef" , null , txInfoList , true , false );
116+ new LogsFilterCapsule (150L , "0xabcdef" , null , txInfoList , true , false , jsonRpc );
117117
118118 jsonRpc .handleLogsFilter (capsule );
119119
@@ -134,7 +134,7 @@ public void testNonSolidifiedCapsule_routedToFullMap() throws JsonRpcInvalidPara
134134 List <TransactionInfo > txInfoList =
135135 Collections .singletonList (buildTxInfoWithLog (new byte [20 ]));
136136 LogsFilterCapsule capsule =
137- new LogsFilterCapsule (150L , "0xabcdef" , null , txInfoList , false , false );
137+ new LogsFilterCapsule (150L , "0xabcdef" , null , txInfoList , false , false , jsonRpc );
138138
139139 jsonRpc .handleLogsFilter (capsule );
140140
@@ -154,7 +154,7 @@ public void testMultipleMatchingFilters_bothReceiveEvents() throws JsonRpcInvali
154154 List <TransactionInfo > txInfoList =
155155 Collections .singletonList (buildTxInfoWithLog (new byte [20 ]));
156156 LogsFilterCapsule capsule =
157- new LogsFilterCapsule (150L , "0xabcdef" , null , txInfoList , false , false );
157+ new LogsFilterCapsule (150L , "0xabcdef" , null , txInfoList , false , false , jsonRpc );
158158
159159 jsonRpc .handleLogsFilter (capsule );
160160
@@ -170,7 +170,7 @@ public void testEmptyTxInfoList_noResult() throws JsonRpcInvalidParamsException
170170 jsonRpc .getEventFilter2ResultFull ().put (FILTER_ID_1 , filterAndResult );
171171
172172 LogsFilterCapsule capsule =
173- new LogsFilterCapsule (150L , "0xabcdef" , null , Collections .emptyList (), false , false );
173+ new LogsFilterCapsule (150L , "0xabcdef" , null , Collections .emptyList (), false , false , jsonRpc );
174174
175175 jsonRpc .handleLogsFilter (capsule );
176176
@@ -205,7 +205,7 @@ public void testParallelPath_allMatchingFilters_receiveEvents() throws Exception
205205 }
206206
207207 LogsFilterCapsule capsule =
208- new LogsFilterCapsule (150L , "0xabcdef" , null , txInfoList , false , false );
208+ new LogsFilterCapsule (150L , "0xabcdef" , null , txInfoList , false , false , jsonRpc );
209209 jsonRpc .handleLogsFilter (capsule );
210210
211211 for (int i = 0 ; i < count ; i ++) {
@@ -238,7 +238,7 @@ public void testParallelPath_expiredFiltersRemoved() throws Exception {
238238 List <TransactionInfo > txInfoList =
239239 Collections .singletonList (buildTxInfoWithLog (new byte [20 ]));
240240 LogsFilterCapsule capsule =
241- new LogsFilterCapsule (150L , "0xabcdef" , null , txInfoList , false , false );
241+ new LogsFilterCapsule (150L , "0xabcdef" , null , txInfoList , false , false , jsonRpc );
242242 jsonRpc .handleLogsFilter (capsule );
243243
244244 for (int i = 0 ; i < expiredCount ; i ++) {
@@ -272,7 +272,7 @@ public void testParallelPath_solidifiedCapsule_routedToSolidityMap() throws Exce
272272 fullMap .put ("parallel-solid-full-0" , fullFilter );
273273
274274 LogsFilterCapsule capsule =
275- new LogsFilterCapsule (150L , "0xabcdef" , null , txInfoList , true , false );
275+ new LogsFilterCapsule (150L , "0xabcdef" , null , txInfoList , true , false , jsonRpc );
276276 jsonRpc .handleLogsFilter (capsule );
277277
278278 for (int i = 0 ; i < count ; i ++) {
0 commit comments