Skip to content

Commit 36c07c5

Browse files
committed
chore: go serde updates
1 parent d92933f commit 36c07c5

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

relayer/package/services/ibc-types/mithril_client_state.go

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ type MithrilProtocolParametersSchema struct {
1010
_ struct{} `cbor:",toarray"`
1111
K uint64
1212
M uint64
13-
PhiF *[]FractionSchema
13+
PhiF *FractionSchema
1414
}
1515

1616
type FractionSchema struct {
@@ -20,18 +20,12 @@ type FractionSchema struct {
2020
}
2121

2222
type MithrilClientStateSchema struct {
23-
_ struct{} `cbor:",toarray"`
24-
ChainId []byte
25-
LatestHeight *struct {
26-
_ struct{} `cbor:",toarray"`
27-
Value MithrilHeightSchema
28-
}
29-
FrozenHeight *struct {
30-
_ struct{} `cbor:",toarray"`
31-
Value MithrilHeightSchema
32-
}
23+
_ struct{} `cbor:",toarray"`
24+
ChainId []byte
25+
LatestHeight *MithrilHeightSchema
26+
FrozenHeight *MithrilHeightSchema
3327
CurrentEpoch uint64
3428
TrustingPeriod uint64
35-
ProtocolParameters *[]MithrilProtocolParametersSchema
29+
ProtocolParameters *MithrilProtocolParametersSchema
3630
UpgradePath [][]byte
3731
}

0 commit comments

Comments
 (0)