Skip to content

Commit

Permalink
fix: types (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmic-vagabond authored Nov 17, 2024
1 parent 0a9a8b0 commit 075a4d9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,28 +68,28 @@ type ConsensusParams struct {
type BlockParams struct {
cometbfttypes.BlockParams

MaxBytes json.Number `json:"max_bytes"`
MaxGas json.Number `json:"max_gas"`
MaxBytes string `json:"max_bytes"`
MaxGas string `json:"max_gas"`
}

type EvidenceParams struct {
cometbfttypes.EvidenceParams

MaxAgeNumBlocks json.Number `json:"max_age_num_blocks"`
MaxAgeDuration string `json:"max_age_duration"`
MaxBytes json.Number `json:"max_bytes,omitempty"`
MaxAgeNumBlocks string `json:"max_age_num_blocks"`
MaxAgeDuration string `json:"max_age_duration"`
MaxBytes string `json:"max_bytes,omitempty"`
}

type VersionParams struct {
cometbfttypes.VersionParams

App json.Number `json:"app"`
App string `json:"app"`
}

type ABCIParams struct {
cometbfttypes.ABCIParams

VoteExtensionsEnableHeight json.Number `json:"vote_extensions_enable_height"`
VoteExtensionsEnableHeight string `json:"vote_extensions_enable_height"`
}

type AppState struct {
Expand Down

0 comments on commit 075a4d9

Please sign in to comment.