Commit 576d9934 authored by panchengzhong's avatar panchengzhong

jsonprc4j attack test

parent 249eb9c2
package tech.pegasys.teku.attacker;
import static org.assertj.core.api.Assertions.assertThat;
public class AttackServiceTest {
private AttackService attackService;
@Test
public void blockGetNewParentRoot() {
long slot = 1L;
String pub = "";
String parentRoot = "";
SafeFuture<AttackerResponse> attackerResponse = attackService.blockGetNewParentRoot(slot, pub, parentRoot);
assertThat(attackerResponse.get().getCommond().getValue).(AttackerCommand.CMD_CONTINUE.getValue()s);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment