Skip to content

Commit

Permalink
fix: rename tenderming to tendermint (#488)
Browse files Browse the repository at this point in the history
(cherry picked from commit 4133a71)
  • Loading branch information
PaddyMc authored and mergify[bot] committed Aug 28, 2024
1 parent ffccf8b commit c4111ac
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func main() {
}()
}

chainClient, err := client.NewClient(config.ChainID, config.ChainTendermingRPCEndpoint)
chainClient, err := client.NewClient(config.ChainID, config.ChainTendermintRPCEndpoint)
if err != nil {
panic(err)
}
Expand Down
2 changes: 1 addition & 1 deletion app/sqs_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var DefaultConfig = domain.Config{
LoggerIsProduction: true,
LoggerLevel: "info",

ChainTendermingRPCEndpoint: "http://localhost:26657",
ChainTendermintRPCEndpoint: "http://localhost:26657",
ChainGRPCGatewayEndpoint: "http://localhost:9090",
ChainID: "osmosis-1",
ChainRegistryAssetsFileURL: "https://raw.githubusercontent.com/osmosis-labs/assetlists/main/osmosis-1/generated/frontend/assetlist.json",
Expand Down
4 changes: 2 additions & 2 deletions domain/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type Config struct {
LoggerIsProduction bool `mapstructure:"logger-is-production"`
LoggerLevel string `mapstructure:"logger-level"`

ChainTendermingRPCEndpoint string `mapstructure:"grpc-tendermint-rpc-endpoint"`
ChainTendermintRPCEndpoint string `mapstructure:"grpc-tendermint-rpc-endpoint"`
ChainGRPCGatewayEndpoint string `mapstructure:"grpc-gateway-endpoint"`
ChainID string `mapstructure:"chain-id"`

Expand Down Expand Up @@ -69,7 +69,7 @@ var (
LoggerFilename: "sqs.log",
LoggerIsProduction: false,
LoggerLevel: "info",
ChainTendermingRPCEndpoint: "http://localhost:26657",
ChainTendermintRPCEndpoint: "http://localhost:26657",
ChainGRPCGatewayEndpoint: "localhost:9090",
ChainID: "osmosis-1",
ChainRegistryAssetsFileURL: "https://raw.githubusercontent.com/osmosis-labs/assetlists/main/osmosis-1/generated/frontend/assetlist.json",
Expand Down
2 changes: 1 addition & 1 deletion system/delivery/http/system_http_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const (
func NewSystemHandler(e *echo.Echo, config domain.Config, logger log.Logger, us mvc.ChainInfoUsecase) {
handler := &SystemHandler{
logger: logger,
grpcAddress: config.ChainTendermingRPCEndpoint,
grpcAddress: config.ChainTendermintRPCEndpoint,
CIUsecase: us,
config: config,
}
Expand Down

0 comments on commit c4111ac

Please sign in to comment.