diff --git a/app/main.go b/app/main.go index e84f4300..fad9df4b 100644 --- a/app/main.go +++ b/app/main.go @@ -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) } diff --git a/app/sqs_config.go b/app/sqs_config.go index 1e51974d..fe0f26d3 100644 --- a/app/sqs_config.go +++ b/app/sqs_config.go @@ -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", diff --git a/domain/config.go b/domain/config.go index 5ded7ca8..a29c8718 100644 --- a/domain/config.go +++ b/domain/config.go @@ -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"` @@ -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", diff --git a/system/delivery/http/system_http_handler.go b/system/delivery/http/system_http_handler.go index e5ff31d6..3a592577 100644 --- a/system/delivery/http/system_http_handler.go +++ b/system/delivery/http/system_http_handler.go @@ -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, }