@@ -15,6 +15,8 @@ defmodule SszStaticTestRunner do
15
15
use ExUnit.CaseTemplate
16
16
use TestRunner
17
17
18
+ @ only_ssz_ex [ Types.Eth1Block , Types.SyncAggregatorSelectionData ]
19
+
18
20
@ disabled [
19
21
# "DepositData",
20
22
# "DepositMessage",
@@ -50,19 +52,18 @@ defmodule SszStaticTestRunner do
50
52
# "BeaconBlockBody",
51
53
# "BeaconState",
52
54
# "SignedAggregateAndProof",
55
+ # "Eth1Block",
56
+ # "SyncAggregatorSelectionData",
53
57
# -- not defined yet
54
58
"LightClientBootstrap" ,
55
59
"LightClientOptimisticUpdate" ,
56
60
"LightClientUpdate" ,
57
- # "Eth1Block",
61
+ "LightClientFinalityUpdate" ,
62
+ "LightClientHeader" ,
58
63
"PowBlock" ,
59
64
"SignedContributionAndProof" ,
60
- "SignedData" ,
61
- "SyncAggregatorSelectionData" ,
62
65
"SyncCommitteeContribution" ,
63
66
"ContributionAndProof" ,
64
- "LightClientFinalityUpdate" ,
65
- "LightClientHeader" ,
66
67
"SyncCommitteeMessage"
67
68
]
68
69
@@ -120,7 +121,7 @@ defmodule SszStaticTestRunner do
120
121
{ :ok , serialized_by_ssz_ex } = SszEx . encode ( real_deserialized , schema )
121
122
assert serialized_by_ssz_ex == real_serialized
122
123
123
- if schema not in [ Types.Eth1Block ] do
124
+ if schema not in @ only_ssz_ex do
124
125
{ :ok , deserialized_by_nif } = Ssz . from_ssz ( real_serialized , schema )
125
126
assert Diff . diff ( deserialized_by_ssz_ex , deserialized_by_nif ) == :unchanged
126
127
0 commit comments