Skip to content

Commit b12cdee

Browse files
authored
Merge pull request #34 from siburu/add-height-codec
Register the codec of Ethereum Header
2 parents 06d4ea2 + a9a9dc7 commit b12cdee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

light-clients/ethereum/types/codec.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,8 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) {
1515
(*exported.ConsensusState)(nil),
1616
&ConsensusState{},
1717
)
18+
registry.RegisterImplementations(
19+
(*exported.ClientMessage)(nil),
20+
&Header{},
21+
)
1822
}

0 commit comments

Comments
 (0)