Skip to content

Commit e81d3c3

Browse files
committed
Added a vector to check for banned vals during report validation
1 parent 07aa8d7 commit e81d3c3

File tree

6 files changed

+34836
-1
lines changed

6 files changed

+34836
-1
lines changed
1.34 MB
Binary file not shown.

stf/reports/full/banned_validator_guarantee-1.json

Lines changed: 34270 additions & 0 deletions
Large diffs are not rendered by default.

stf/reports/reports.asn

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ ErrorCode ::= ENUMERATED {
115115
too-many-dependencies (19),
116116
segment-root-lookup-invalid (20),
117117
bad-signature (21),
118-
work-report-too-big (22)
118+
work-report-too-big (22),
119+
banned-validator (23)
119120
}
120121

121122
Output ::= CHOICE {

stf/reports/reports.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,5 @@ class ReportsTestVector(StfTestVector):
9999
20: "segment_root_lookup_invalid",
100100
21: "bad_signature",
101101
22: "work_report_too_big",
102+
23: "banned_validator"
102103
}
11.9 KB
Binary file not shown.

stf/reports/tiny/banned_validator_guarantee-1.json

Lines changed: 563 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)