File tree 2 files changed +9
-5
lines changed
2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -243,12 +243,16 @@ gen_all: $(GENERATOR_TARGETS)
243
243
244
244
# Detect errors in generators.
245
245
detect_errors : $(TEST_VECTOR_DIR )
246
- @find $(TEST_VECTOR_DIR ) -name " INCOMPLETE"
246
+ @incomplete_files=$$(find $(TEST_VECTOR_DIR ) -name "INCOMPLETE" ) ; \
247
+ if [ -n " $$ incomplete_files" ]; then \
248
+ echo " [ERROR] incomplete detected" ; \
249
+ exit 1; \
250
+ fi
247
251
@if [ -f $( GENERATOR_ERROR_LOG_FILE) ]; then \
248
252
echo " [ERROR] $( GENERATOR_ERROR_LOG_FILE) file exists" ; \
249
- else \
250
- echo " [PASSED] error log file does not exist" ; \
253
+ exit 1; \
251
254
fi
255
+ @echo " [PASSED] no errors detected"
252
256
253
257
# Generate KZG trusted setups for testing.
254
258
kzg_setups : pyspec
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ class Store(object):
57
57
latest_messages: Dict[ValidatorIndex, LatestMessage] = field(default_factory = dict )
58
58
unrealized_justifications: Dict[Root, Checkpoint] = field(default_factory = dict )
59
59
# [New in EIP-7805]
60
- inclusion_lists: Dict[Tuple[Slot, Root], List [InclusionList]] = field(default_factory = dict )
60
+ inclusion_lists: Dict[Tuple[Slot, Root], Set [InclusionList]] = field(default_factory = dict )
61
61
inclusion_list_equivocators: Dict[Tuple[Slot, Root], Set[ValidatorIndex]] = field(default_factory = dict )
62
62
unsatisfied_inclusion_list_blocks: Set[Root] = field(default_factory = Set)
63
63
```
@@ -200,5 +200,5 @@ def on_inclusion_list(
200
200
store.inclusion_list_equivocators[(message.slot, root)].add(validator_index)
201
201
# This inclusion list is not an equivocation. Store it if prior to the view freeze deadline
202
202
elif is_before_freeze_deadline:
203
- store.inclusion_lists[(message.slot, root)].append (message)
203
+ store.inclusion_lists[(message.slot, root)].add (message)
204
204
```
You can’t perform that action at this time.
0 commit comments