Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
teku
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
teku
Commits
576d9934
Commit
576d9934
authored
Jul 17, 2025
by
panchengzhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jsonprc4j attack test
parent
249eb9c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
AttackServiceTest.java
...st/java/tech/pegasys/teku/attacker/AttackServiceTest.java
+17
-0
No files found.
attacker/client/src/test/java/tech/pegasys/teku/attacker/AttackServiceTest.java
0 → 100644
View file @
576d9934
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
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment