Skip to content

Commit

Permalink
allow register with extra_codecs (#1175)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe authored Apr 21, 2023
1 parent 4aa0d3c commit 591c136
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cregistry/chain_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ type ChainInfo struct {
Provider string `json:"provider"`
} `json:"rest"`
} `json:"apis"`
ExtraCodecs []string `json:"extra_codecs"`
}

// NewChainInfo returns a ChainInfo that is uninitialized other than the provided zap.Logger.
Expand Down Expand Up @@ -266,5 +267,6 @@ func (c ChainInfo) GetChainConfig(ctx context.Context) (*cosmos.CosmosProviderCo
SignModeStr: "direct",
Slip44: c.Slip44,
SigningAlgorithm: c.SigningAlgorithm,
ExtraCodecs: c.ExtraCodecs,
}, nil
}

0 comments on commit 591c136

Please sign in to comment.