Skip to content

Commit

Permalink
fix event types message (#8885)
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Harris <[email protected]>
  • Loading branch information
rolfyone authored Dec 4, 2024
1 parent 9e80efa commit 7f4a918
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"in" : "query",
"schema" : {
"type" : "string",
"description" : "Event types to subscribe to. Supported event types: [`attestation`, `attester_slashing`, `blob_sidecar`, `block_gossip`, `block`, `bls_to_execution_change`, `chain_reorg`, `contribution_and_proof`, `finalized_checkpoint`, `head`, `payload_attributes`, `proposer_slashing`, `single_attestation`, `sync_state`, `voluntary_exit`",
"description" : "Event types to subscribe to. Supported event types: [`attestation`, `attester_slashing`, `blob_sidecar`, `block_gossip`, `block`, `bls_to_execution_change`, `chain_reorg`, `contribution_and_proof`, `finalized_checkpoint`, `head`, `payload_attributes`, `proposer_slashing`, `single_attestation`, `sync_state`, `voluntary_exit`]",
"example" : "head"
}
} ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ public class BeaconRestApiTypes {
+ EnumSet.allOf(EventType.class).stream()
.map(val -> "`" + val.toString() + "`")
.sorted()
.collect(Collectors.joining(", ")),
.collect(Collectors.joining(", "))
+ "]",
"head"));

public static final SerializableTypeDefinition<Bytes32> ROOT_TYPE =
Expand Down

0 comments on commit 7f4a918

Please sign in to comment.