Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions proto/poa/params.proto
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
syntax = "proto3";
package poa;

import "gogoproto/gogo.proto";

option go_package = "github.com/xrplevm/node/v6/x/poa/types";

// Params defines the parameters for the module.
message Params { option (gogoproto.goproto_stringer) = false; }
message Params {}
31 changes: 0 additions & 31 deletions x/poa/client/cli/query.go

This file was deleted.

37 changes: 0 additions & 37 deletions x/poa/client/cli/query_params.go

This file was deleted.

5 changes: 0 additions & 5 deletions x/poa/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@ func (a AppModuleBasic) GetTxCmd() *cobra.Command {
return cli.GetTxCmd()
}

// GetQueryCmd returns the root query command for the module. The subcommands of this root command are used by end-users to generate new queries to the subset of the state defined by the module
func (AppModuleBasic) GetQueryCmd() *cobra.Command {
return cli.GetQueryCmd()
}

// ----------------------------------------------------------------------------
// AppModule
// ----------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions x/poa/types/genesis.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 1 addition & 8 deletions x/poa/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package types

import (
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
"gopkg.in/yaml.v2"
)

var _ paramtypes.ParamSet = (*Params)(nil)
Expand All @@ -28,12 +27,6 @@ func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs {
}

// Validate validates the set of params
func (p Params) Validate() error {
func (p *Params) Validate() error {
return nil
}

// String implements the Stringer interface.
func (p Params) String() string {
out, _ := yaml.Marshal(p)
return string(out)
}
21 changes: 10 additions & 11 deletions x/poa/types/params.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions x/poa/types/query.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 29 additions & 29 deletions x/poa/types/tx.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.