Skip to content

Commit

Permalink
chain: fix module package name
Browse files Browse the repository at this point in the history
  • Loading branch information
dumbeng committed Aug 13, 2024
1 parent 9870ded commit 0dbc696
Show file tree
Hide file tree
Showing 45 changed files with 68 additions and 96 deletions.
2 changes: 1 addition & 1 deletion api/artela/evm/genesis.pulsar.go

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

2 changes: 1 addition & 1 deletion api/artela/evm/module/module.pulsar.go

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

2 changes: 1 addition & 1 deletion api/artela/evm/params.pulsar.go

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

2 changes: 1 addition & 1 deletion api/artela/evm/query.pulsar.go

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

4 changes: 2 additions & 2 deletions api/artela/evm/query_grpc.pb.go

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

2 changes: 1 addition & 1 deletion api/artela/evm/tx.pulsar.go

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

4 changes: 2 additions & 2 deletions api/artela/evm/tx_grpc.pb.go

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

2 changes: 1 addition & 1 deletion api/artela/fee/genesis.pulsar.go

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

2 changes: 1 addition & 1 deletion api/artela/fee/module/module.pulsar.go

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

2 changes: 1 addition & 1 deletion api/artela/fee/params.pulsar.go

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

2 changes: 1 addition & 1 deletion api/artela/fee/query.pulsar.go

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

4 changes: 2 additions & 2 deletions api/artela/fee/query_grpc.pb.go

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

2 changes: 1 addition & 1 deletion api/artela/fee/tx.pulsar.go

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

4 changes: 2 additions & 2 deletions api/artela/fee/tx_grpc.pb.go

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

2 changes: 1 addition & 1 deletion api/artela/wordle/genesis.pulsar.go

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

2 changes: 1 addition & 1 deletion api/artela/wordle/module/module.pulsar.go

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

2 changes: 1 addition & 1 deletion api/artela/wordle/params.pulsar.go

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

2 changes: 1 addition & 1 deletion api/artela/wordle/query.pulsar.go

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

4 changes: 2 additions & 2 deletions api/artela/wordle/query_grpc.pb.go

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

2 changes: 1 addition & 1 deletion api/artela/wordle/tx.pulsar.go

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

4 changes: 2 additions & 2 deletions api/artela/wordle/tx_grpc.pb.go

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

16 changes: 2 additions & 14 deletions app/app_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,11 @@ package app
import (
"time"

wordlemodulev1 "github.com/artela-network/artela-rollkit/api/github.com/artela-network/artela-rollkit/wordle/module"
_ "github.com/artela-network/artela-rollkit/x/wordle/module" // import for side-effects
wordlemoduletypes "github.com/artela-network/artela-rollkit/x/wordle/types"

evmmodulev1 "github.com/artela-network/artela-rollkit/api/github.com/artela-network/artela-rollkit/evm/module"
evmmodulev1 "github.com/artela-network/artela-rollkit/api/artela/evm/module"
_ "github.com/artela-network/artela-rollkit/x/evm/module" // import for side-effects
evmmoduletypes "github.com/artela-network/artela-rollkit/x/evm/types"

feemodulev1 "github.com/artela-network/artela-rollkit/api/github.com/artela-network/artela-rollkit/fee/module"
feemodulev1 "github.com/artela-network/artela-rollkit/api/artela/fee/module"
_ "github.com/artela-network/artela-rollkit/x/fee/module" // import for side-effects
feemoduletypes "github.com/artela-network/artela-rollkit/x/fee/types"

Expand Down Expand Up @@ -101,7 +97,6 @@ var (
consensustypes.ModuleName,
circuittypes.ModuleName,
// chain modules
wordlemoduletypes.ModuleName,
evmmoduletypes.ModuleName,
feemoduletypes.ModuleName,
// this line is used by starport scaffolding # stargate/app/initGenesis
Expand All @@ -128,7 +123,6 @@ var (
icatypes.ModuleName,
ibcfeetypes.ModuleName,
// chain modules
wordlemoduletypes.ModuleName,
evmmoduletypes.ModuleName,
feemoduletypes.ModuleName,
// this line is used by starport scaffolding # stargate/app/beginBlockers
Expand All @@ -149,7 +143,6 @@ var (
icatypes.ModuleName,
ibcfeetypes.ModuleName,
// chain modules
wordlemoduletypes.ModuleName,
evmmoduletypes.ModuleName,
feemoduletypes.ModuleName,
// this line is used by starport scaffolding # stargate/app/endBlockers
Expand All @@ -172,7 +165,6 @@ var (
{Account: ibctransfertypes.ModuleName, Permissions: []string{authtypes.Minter, authtypes.Burner}},
{Account: ibcfeetypes.ModuleName},
{Account: icatypes.ModuleName},
{Account: wordlemoduletypes.ModuleName, Permissions: []string{authtypes.Minter, authtypes.Burner, authtypes.Staking}},
// this line is used by starport scaffolding # stargate/app/maccPerms
}

Expand Down Expand Up @@ -308,10 +300,6 @@ var (
Name: circuittypes.ModuleName,
Config: appconfig.WrapAny(&circuitmodulev1.Module{}),
},
{
Name: wordlemoduletypes.ModuleName,
Config: appconfig.WrapAny(&wordlemodulev1.Module{}),
},
{
Name: evmmoduletypes.ModuleName,
Config: appconfig.WrapAny(&evmmodulev1.Module{}),
Expand Down
2 changes: 1 addition & 1 deletion proto/artela/evm/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package artela.evm;

import "amino/amino.proto";
import "gogoproto/gogo.proto";
import "github.com/artela-network/artela-rollkit/evm/params.proto";
import "artela/evm/params.proto";

option go_package = "github.com/artela-network/artela-rollkit/x/evm/types";

Expand Down
2 changes: 1 addition & 1 deletion proto/artela/evm/params.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ option go_package = "github.com/artela-network/artela-rollkit/x/evm/types";

// Params defines the parameters for the module.
message Params {
option (amino.name) = "github.com/artela-network/artela-rollkit/x/evm/Params";
option (amino.name) = "artela/x/evm/Params";
option (gogoproto.equal) = true;


Expand Down
4 changes: 2 additions & 2 deletions proto/artela/evm/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import "amino/amino.proto";
import "gogoproto/gogo.proto";
import "google/api/annotations.proto";
import "cosmos/base/query/v1beta1/pagination.proto";
import "github.com/artela-network/artela-rollkit/evm/params.proto";
import "artela/evm/params.proto";

option go_package = "github.com/artela-network/artela-rollkit/x/evm/types";

// Query defines the gRPC querier service.
service Query {
// Parameters queries the parameters of the module.
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
option (google.api.http).get = "/github.com/artela-network/artela-rollkit/evm/params";
option (google.api.http).get = "/artela/evm/params";
}
}

Expand Down
4 changes: 2 additions & 2 deletions proto/artela/evm/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "amino/amino.proto";
import "cosmos/msg/v1/msg.proto";
import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto";
import "github.com/artela-network/artela-rollkit/evm/params.proto";
import "artela/evm/params.proto";

option go_package = "github.com/artela-network/artela-rollkit/x/evm/types";

Expand All @@ -21,7 +21,7 @@ service Msg {
// MsgUpdateParams is the Msg/UpdateParams request type.
message MsgUpdateParams {
option (cosmos.msg.v1.signer) = "authority";
option (amino.name) = "github.com/artela-network/artela-rollkit/x/evm/MsgUpdateParams";
option (amino.name) = "artela/x/evm/MsgUpdateParams";

// authority is the address that controls the module (defaults to x/gov unless overwritten).
string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
Expand Down
2 changes: 1 addition & 1 deletion proto/artela/fee/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package artela.fee;

import "amino/amino.proto";
import "gogoproto/gogo.proto";
import "github.com/artela-network/artela-rollkit/fee/params.proto";
import "artela/fee/params.proto";

option go_package = "github.com/artela-network/artela-rollkit/x/fee/types";

Expand Down
2 changes: 1 addition & 1 deletion proto/artela/fee/params.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ option go_package = "github.com/artela-network/artela-rollkit/x/fee/types";

// Params defines the parameters for the module.
message Params {
option (amino.name) = "github.com/artela-network/artela-rollkit/x/fee/Params";
option (amino.name) = "artela/x/fee/Params";
option (gogoproto.equal) = true;

// no_base_fee forces the EIP-1559 base fee to 0 (needed for 0 price calls)
Expand Down
4 changes: 2 additions & 2 deletions proto/artela/fee/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import "amino/amino.proto";
import "gogoproto/gogo.proto";
import "google/api/annotations.proto";
import "cosmos/base/query/v1beta1/pagination.proto";
import "github.com/artela-network/artela-rollkit/fee/params.proto";
import "artela/fee/params.proto";

option go_package = "github.com/artela-network/artela-rollkit/x/fee/types";

// Query defines the gRPC querier service.
service Query {
// Parameters queries the parameters of the module.
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
option (google.api.http).get = "/github.com/artela-network/artela-rollkit/fee/params";
option (google.api.http).get = "/artela/fee/params";
}
}

Expand Down
4 changes: 2 additions & 2 deletions proto/artela/fee/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "amino/amino.proto";
import "cosmos/msg/v1/msg.proto";
import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto";
import "github.com/artela-network/artela-rollkit/fee/params.proto";
import "artela/fee/params.proto";

option go_package = "github.com/artela-network/artela-rollkit/x/fee/types";

Expand All @@ -21,7 +21,7 @@ service Msg {
// MsgUpdateParams is the Msg/UpdateParams request type.
message MsgUpdateParams {
option (cosmos.msg.v1.signer) = "authority";
option (amino.name) = "github.com/artela-network/artela-rollkit/x/fee/MsgUpdateParams";
option (amino.name) = "artela/x/fee/MsgUpdateParams";

// authority is the address that controls the module (defaults to x/gov unless overwritten).
string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
Expand Down
Loading

0 comments on commit 0dbc696

Please sign in to comment.