Skip to content

Commit

Permalink
register event topics
Browse files Browse the repository at this point in the history
  • Loading branch information
etan-status committed Jun 19, 2022
1 parent e04b39f commit 1c67c17
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim
Original file line number Diff line number Diff line change
Expand Up @@ -2148,6 +2148,10 @@ proc decodeString*(t: typedesc[EventTopic],
ok(EventTopic.ChainReorg)
of "contribution_and_proof":
ok(EventTopic.ContributionAndProof)
of "light_client_finality_update_v0":
ok(EventTopic.LightClientFinalityUpdate)
of "light_client_optimistic_update_v0":
ok(EventTopic.LightClientOptimisticUpdate)
else:
err("Incorrect event's topic value")

Expand Down

0 comments on commit 1c67c17

Please sign in to comment.