Skip to content

Commit

Permalink
Update formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Olshansk committed Nov 17, 2023
1 parent 190fd3c commit fef0851
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
3 changes: 1 addition & 2 deletions proto/pocket/supplier/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ service Query {
// Parameters queries the parameters of the module.
rpc Params (QueryParamsRequest) returns (QueryParamsResponse) {
option (google.api.http).get = "/pocket/supplier/params";

}

// Queries a list of Supplier items.
rpc Supplier (QueryGetSupplierRequest) returns (QueryGetSupplierResponse) {
rpc Supplier (QueryGetSupplierRequest) returns (QueryGetSupplierResponse) {
option (google.api.http).get = "/pocket/supplier/supplier/{address}";

}
Expand Down
9 changes: 2 additions & 7 deletions x/supplier/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,10 @@ package cli

import (
"fmt"
// "strings"

"github.com/spf13/cobra"

"github.com/cosmos/cosmos-sdk/client"
// "github.com/cosmos/cosmos-sdk/client/flags"
// sdk "github.com/cosmos/cosmos-sdk/types"

"github.com/pokt-network/poktroll/x/supplier/types"
"github.com/spf13/cobra"
)

// GetQueryCmd returns the cli query commands for this module
Expand All @@ -31,7 +26,7 @@ func GetQueryCmd(queryRoute string) *cobra.Command {
cmd.AddCommand(CmdShowClaim())
cmd.AddCommand(CmdListProof())
cmd.AddCommand(CmdShowProof())
// this line is used by starport scaffolding # 1
// this line is used by starport scaffolding # 1

return cmd
}
4 changes: 2 additions & 2 deletions x/supplier/keeper/query_proof_test.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package keeper_test

import (
keepertest "pocket/testutil/keeper"
"pocket/testutil/nullify"
"strconv"
"testing"

sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/query"
keepertest "github.com/pokt-network/poktroll/testutil/keeper"
"github.com/pokt-network/poktroll/testutil/nullify"
"github.com/pokt-network/poktroll/x/supplier/types"
"github.com/stretchr/testify/require"
"google.golang.org/grpc/codes"
Expand Down

0 comments on commit fef0851

Please sign in to comment.