diff --git a/abci/strategies/aggregator/price_applier.go b/abci/strategies/aggregator/price_applier.go index c3fccdf83..03b61d68c 100644 --- a/abci/strategies/aggregator/price_applier.go +++ b/abci/strategies/aggregator/price_applier.go @@ -26,7 +26,7 @@ type PriceApplier interface { // otherwise an error is returned + nil prices. ApplyPricesFromVoteExtensions(ctx sdk.Context, req *cometabci.RequestFinalizeBlock) (map[connecttypes.CurrencyPair]*big.Int, error) - // GetPriceForValidator gets the prices reported by a given validator. This method depends + // GetPricesForValidator gets the prices reported by a given validator. This method depends // on the prices from the latest set of aggregated votes. GetPricesForValidator(validator sdk.ConsAddress) map[connecttypes.CurrencyPair]*big.Int } diff --git a/providers/base/provider_test.go b/providers/base/provider_test.go index e331c86fc..659d3f121 100644 --- a/providers/base/provider_test.go +++ b/providers/base/provider_test.go @@ -557,7 +557,7 @@ func TestWebSocketProvider(t *testing.T) { expectedPrices: map[connecttypes.CurrencyPair]*big.Int{}, }, { - name: "updates the timestamp associated with a result if the the data is unchanged and still valid", + name: "updates the timestamp associated with a result if the data is unchanged and still valid", handler: func() wshandlers.WebSocketQueryHandler[connecttypes.CurrencyPair, *big.Int] { // First response is valid and sets the data. resolved := map[connecttypes.CurrencyPair]providertypes.ResolvedResult[*big.Int]{ diff --git a/tests/integration/connect_suite.go b/tests/integration/connect_suite.go index b63f1d621..847999c90 100644 --- a/tests/integration/connect_suite.go +++ b/tests/integration/connect_suite.go @@ -403,7 +403,7 @@ func (s *ConnectOracleIntegrationSuite) TestOracleModule() { s.Run("remove a non existent market", func() { nonexistentCP := connecttypes.NewCurrencyPair("NON", "EXIST") - // check removed doesnt exist + // check removed doesn't exist _, err := QueryMarket(s.chain, nonexistentCP) s.Require().Error(err)