diff --git a/x/cadance/keeper/querier.go b/x/cadance/keeper/querier.go index 2b360fe4..86b5f20d 100644 --- a/x/cadance/keeper/querier.go +++ b/x/cadance/keeper/querier.go @@ -21,7 +21,7 @@ func NewQuerier(k Keeper) Querier { } } -// ContractModules returns contract addresses which are using the cadance +// CadanceContracts returns contract addresses which are using the cadance func (q Querier) CadanceContracts(stdCtx context.Context, req *types.QueryCadanceContracts) (*types.QueryCadanceContractsResponse, error) { ctx := sdk.UnwrapSDKContext(stdCtx) diff --git a/x/smart-account/integration_test.go b/x/smart-account/integration_test.go index 8ab9716f..22e5b38e 100644 --- a/x/smart-account/integration_test.go +++ b/x/smart-account/integration_test.go @@ -260,7 +260,7 @@ func (s *AuthenticatorSuite) TestKeyRotation() { s.Require().Error(err, "Should fail as authenticator was removed from store") } -// TestingAuthenticatorState tests that the Authenticate, Track and ConfirmExecution functions work correctly, +// TestAuthenticatorState tests that the Authenticate, Track and ConfirmExecution functions work correctly, // it increments a test authenticator state by 1 on each successful pass through the Ante and Post handlers. func (s *AuthenticatorSuite) TestAuthenticatorState() { successSendMsg := &banktypes.MsgSend{ @@ -322,7 +322,7 @@ func (s *AuthenticatorSuite) TestAuthenticatorMultiMsg() { s.Require().Equal(int64(2_000), maxAmount.GetAmount(s.chainA.GetContext()).Int64()) } -// TestingAuthenticatorGas tests the gas limit panics when not reduced, then tests +// TestAuthenticatorGas tests the gas limit panics when not reduced, then tests // that the gas limit is reset after the fee payer is authenticated. func (s *AuthenticatorSuite) TestAuthenticatorGas() { sendFromAcc1 := &banktypes.MsgSend{ diff --git a/x/smart-account/post/post_test.go b/x/smart-account/post/post_test.go index de0a6cee..77b2f0fc 100644 --- a/x/smart-account/post/post_test.go +++ b/x/smart-account/post/post_test.go @@ -145,7 +145,7 @@ func (s *AuthenticatorPostSuite) TestAuthenticatorPostHandlerSuccess() { s.Require().NoError(err, "Failed but should have passed as ConfirmExecution passed") } -// TestAutenticatorPostHandlerReturnEarly tests that the post handler fails early on IsCircuitBreakActive +// TestAuthenticatorPostHandlerReturnEarly tests that the post handler fails early on IsCircuitBreakActive // the transaction should pass through the normal flow. func (s *AuthenticatorPostSuite) TestAuthenticatorPostHandlerReturnEarly() { bitsongToken := "bitsong"