File tree 1 file changed +1
-5
lines changed
validator/remote/src/integration-test/java/tech/pegasys/teku/validator/remote/typedef
1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 26
26
import static tech .pegasys .teku .infrastructure .http .HttpStatusCodes .SC_NO_CONTENT ;
27
27
import static tech .pegasys .teku .infrastructure .http .HttpStatusCodes .SC_OK ;
28
28
import static tech .pegasys .teku .infrastructure .json .JsonUtil .serialize ;
29
- import static tech .pegasys .teku .infrastructure .json .types .CoreTypes .INTEGER_TYPE ;
30
29
import static tech .pegasys .teku .infrastructure .unsigned .UInt64 .ONE ;
31
30
import static tech .pegasys .teku .spec .config .SpecConfig .FAR_FUTURE_EPOCH ;
32
31
47
46
import tech .pegasys .teku .ethereum .json .types .beacon .StateValidatorData ;
48
47
import tech .pegasys .teku .ethereum .json .types .validator .SyncCommitteeDuties ;
49
48
import tech .pegasys .teku .ethereum .json .types .validator .SyncCommitteeDuty ;
50
- import tech .pegasys .teku .infrastructure .json .types .DeserializableTypeDefinition ;
51
49
import tech .pegasys .teku .infrastructure .ssz .SszDataAssert ;
52
50
import tech .pegasys .teku .infrastructure .ssz .SszList ;
53
51
import tech .pegasys .teku .infrastructure .unsigned .UInt64 ;
@@ -443,9 +441,7 @@ public void postSyncDuties_WhenSuccess_ReturnsResponse()
443
441
assertThat (recordedRequest .getMethod ()).isEqualTo ("POST" );
444
442
assertThat (recordedRequest .getHeader ("Content-Type" )).isEqualTo (JSON_CONTENT_TYPE );
445
443
assertThat (recordedRequest .getBody ().readByteArray ())
446
- .isEqualTo (
447
- serialize (validatorIndices , DeserializableTypeDefinition .listOf (INTEGER_TYPE , 1 ))
448
- .getBytes (UTF_8 ));
444
+ .isEqualTo ("[\" 1\" ,\" 2\" ]" .getBytes (UTF_8 ));
449
445
450
446
assertThat (result ).isPresent ();
451
447
assertThat (result .get ()).isEqualTo (response );
You can’t perform that action at this time.
0 commit comments