Skip to content

Commit

Permalink
fix: types (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmic-vagabond authored Nov 16, 2024
1 parent f270123 commit 4351c05
Showing 1 changed file with 29 additions and 8 deletions.
37 changes: 29 additions & 8 deletions types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -473,14 +473,35 @@ type ConnectionGenesisParams struct {
type ChannelGenesis struct {
ibcchanneltypes.GenesisState

Channels []interface{} `json:"channels"`
Acknowledgements []interface{} `json:"acknowledgements"`
Commitments []interface{} `json:"commitments"`
Receipts []interface{} `json:"receipts"`
SendSequences []interface{} `json:"send_sequences"`
RecvSequences []interface{} `json:"recv_sequences"`
AckSequences []interface{} `json:"ack_sequences"`
NextChannelSequence json.Number `json:"next_channel_sequence"`
Channels []interface{} `json:"channels"`
Acknowledgements []interface{} `json:"acknowledgements"`
Commitments []interface{} `json:"commitments"`
Receipts []interface{} `json:"receipts"`
SendSequences []interface{} `json:"send_sequences"`
RecvSequences []interface{} `json:"recv_sequences"`
AckSequences []interface{} `json:"ack_sequences"`
NextChannelSequence json.Number `json:"next_channel_sequence"`
Params ChannelGenesisParams `json:"params"`
}

type ChannelGenesisParams struct {
ibcchanneltypes.Params

UpgradeTimeout ChannelGenesisTimeout `json:"upgrade_timeout"`
}

type ChannelGenesisTimeout struct {
ibcchanneltypes.Timeout

Height ChannelGenesisHeight `json:"height"`
Timestamp json.Number `json:"timestamp"`
}

type ChannelGenesisHeight struct {
ibcclienttypes.Height

RevisionNumber json.Number `json:"revision_number"`
RevisionHeight json.Number `json:"revision_height"`
}

type LeverageLP struct {
Expand Down

0 comments on commit 4351c05

Please sign in to comment.