Skip to content

Commit 0515d1e

Browse files
committed
refactor(renaming): change package to axone-protocol
1 parent 68736e3 commit 0515d1e

File tree

112 files changed

+504
-504
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+504
-504
lines changed

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ linters-settings:
6666
- prefix(github.com/cosmos/cosmos-sdk) # cosmos-sdk & cosmos org libs
6767
- prefix(github.com/cosmos/interchain-security) # interchain-security
6868
- prefix(github.com/cosmos/ibc-go) # ibc
69-
- prefix(github.com/axone/axoned) # axone
69+
- prefix(github.com/axone-protocol/axoned) # axone
7070
custom-order: true
7171

7272
cyclop:

CHANGELOG.md

Lines changed: 320 additions & 320 deletions

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ chain-upgrade: build ## Test the chain upgrade from the given FROM_VERSION to th
240240
@echo "${COLOR_CYAN} ⬆️ Upgrade the chain ${COLOR_RESET}${CHAIN}${COLOR_CYAN} from ${COLOR_YELLOW}${FROM_VERSION}${COLOR_RESET}${COLOR_CYAN} to ${COLOR_YELLOW}${TO_VERSION}${COLOR_RESET}"
241241
@killall cosmovisor || \
242242
rm -rf ${TARGET_FOLDER}/${FROM_VERSION}; \
243-
git clone -b ${FROM_VERSION} https://github.com/axone/axoned.git ${TARGET_FOLDER}/${FROM_VERSION}; \
243+
git clone -b ${FROM_VERSION} https://github.com/axone-protocol/axoned.git ${TARGET_FOLDER}/${FROM_VERSION}; \
244244
echo "${COLOR_CYAN} 🏗 Build the ${COLOR_YELLOW}${FROM_VERSION}${COLOR_RESET}${COLOR_CYAN} binary...${COLOR_RESET}"; \
245245
cd ${TARGET_FOLDER}/${FROM_VERSION}; \
246246
make build; \

app/app.go

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -136,17 +136,17 @@ import (
136136
ibckeeper "github.com/cosmos/ibc-go/v8/modules/core/keeper"
137137
ibctm "github.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint"
138138

139-
axonewasm "github.com/axone/axoned/v7/app/wasm"
140-
"github.com/axone/axoned/v7/docs"
141-
logicmodule "github.com/axone/axoned/v7/x/logic"
142-
logicfs "github.com/axone/axoned/v7/x/logic/fs"
143-
logicmodulekeeper "github.com/axone/axoned/v7/x/logic/keeper"
144-
logicmoduletypes "github.com/axone/axoned/v7/x/logic/types"
145-
"github.com/axone/axoned/v7/x/mint"
146-
mintkeeper "github.com/axone/axoned/v7/x/mint/keeper"
147-
minttypes "github.com/axone/axoned/v7/x/mint/types"
148-
"github.com/axone/axoned/v7/x/vesting"
149-
vestingtypes "github.com/axone/axoned/v7/x/vesting/types"
139+
axonewasm "github.com/axone-protocol/axoned/v7/app/wasm"
140+
"github.com/axone-protocol/axoned/v7/docs"
141+
logicmodule "github.com/axone-protocol/axoned/v7/x/logic"
142+
logicfs "github.com/axone-protocol/axoned/v7/x/logic/fs"
143+
logicmodulekeeper "github.com/axone-protocol/axoned/v7/x/logic/keeper"
144+
logicmoduletypes "github.com/axone-protocol/axoned/v7/x/logic/types"
145+
"github.com/axone-protocol/axoned/v7/x/mint"
146+
mintkeeper "github.com/axone-protocol/axoned/v7/x/mint/keeper"
147+
minttypes "github.com/axone-protocol/axoned/v7/x/mint/types"
148+
"github.com/axone-protocol/axoned/v7/x/vesting"
149+
vestingtypes "github.com/axone-protocol/axoned/v7/x/vesting/types"
150150
)
151151

152152
const (

app/encoding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims"
1111

12-
"github.com/axone/axoned/v7/app/params"
12+
"github.com/axone-protocol/axoned/v7/app/params"
1313
)
1414

1515
// makeEncodingConfig creates an EncodingConfig test configuration.

app/upgrades.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package app
33
import (
44
"fmt"
55

6-
v7 "github.com/axone/axoned/v7/app/upgrades/v7"
6+
v7 "github.com/axone-protocol/axoned/v7/app/upgrades/v7"
77
)
88

99
// RegisterUpgradeHandlers registers the chain upgrade handlers.

app/wasm/query.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
sdk "github.com/cosmos/cosmos-sdk/types"
1212
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
1313

14-
logickeeper "github.com/axone/axoned/v7/x/logic/keeper"
15-
logicwasm "github.com/axone/axoned/v7/x/logic/wasm"
14+
logickeeper "github.com/axone-protocol/axoned/v7/x/logic/keeper"
15+
logicwasm "github.com/axone-protocol/axoned/v7/x/logic/wasm"
1616
)
1717

1818
// customQuery represents the wasm custom query structure, it is intended to allow wasm contracts to execute queries

client/credential/sign.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import (
2929
sdkerr "github.com/cosmos/cosmos-sdk/types/errors"
3030
"github.com/cosmos/cosmos-sdk/types/tx/signing"
3131

32-
"github.com/axone/axoned/v7/x/logic/util"
32+
"github.com/axone-protocol/axoned/v7/x/logic/util"
3333
)
3434

3535
const (

client/keys/did.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"github.com/cosmos/cosmos-sdk/types/errors"
1313
"github.com/cosmos/cosmos-sdk/version"
1414

15-
"github.com/axone/axoned/v7/x/logic/util"
15+
"github.com/axone-protocol/axoned/v7/x/logic/util"
1616
)
1717

1818
var flagPubKeyType = "type"

client/keys/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/cosmos/cosmos-sdk/client/keys"
1212
cryptokeyring "github.com/cosmos/cosmos-sdk/crypto/keyring"
1313

14-
"github.com/axone/axoned/v7/x/logic/util"
14+
"github.com/axone-protocol/axoned/v7/x/logic/util"
1515
)
1616

1717
// KeyOutput is the output format for keys when listing them.

cmd/axoned/cmd/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package cmd
33
import (
44
sdk "github.com/cosmos/cosmos-sdk/types"
55

6-
"github.com/axone/axoned/v7/app"
6+
"github.com/axone-protocol/axoned/v7/app"
77
)
88

99
func initSDKConfig() {

cmd/axoned/cmd/root.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ import (
4040
"github.com/cosmos/cosmos-sdk/x/crisis"
4141
genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli"
4242

43-
"github.com/axone/axoned/v7/app"
44-
appparams "github.com/axone/axoned/v7/app/params"
45-
"github.com/axone/axoned/v7/client/credential"
46-
axonekeys "github.com/axone/axoned/v7/client/keys"
43+
"github.com/axone-protocol/axoned/v7/app"
44+
appparams "github.com/axone-protocol/axoned/v7/app/params"
45+
"github.com/axone-protocol/axoned/v7/client/credential"
46+
axonekeys "github.com/axone-protocol/axoned/v7/client/keys"
4747
)
4848

4949
// NewRootCmd creates a new root command for a Cosmos SDK application.

cmd/axoned/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77

88
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
99

10-
"github.com/axone/axoned/v7/app"
11-
"github.com/axone/axoned/v7/cmd/axoned/cmd"
10+
"github.com/axone-protocol/axoned/v7/app"
11+
"github.com/axone-protocol/axoned/v7/cmd/axoned/cmd"
1212
)
1313

1414
func main() {

docs/proto/logic.md

Lines changed: 2 additions & 2 deletions

docs/static/openapi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44121,7 +44121,7 @@ paths:
4412144121
format: uint64
4412244122
tags:
4412344123
- Query
44124-
/axone/axoned/logic/params:
44124+
/axone-protocol/axoned/logic/params:
4412544125
get:
4412644126
summary: Parameters queries the parameters of the module.
4412744127
operationId: LogicV1BetaParams

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/axone/axoned/v7
1+
module github.com/axone-protocol/axoned/v7
22

33
go 1.21
44

proto/buf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
version: v1
2-
name: buf.build/axone/axoned
2+
name: buf.build/axone-protocol/axoned
33
deps:
44
- buf.build/cosmos/cosmos-sdk:v0.50.1
55
- buf.build/cosmos/cosmos-proto

proto/logic/v1beta2/genesis.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package logic.v1beta2;
55
import "gogoproto/gogo.proto";
66
import "logic/v1beta2/params.proto";
77

8-
option go_package = "github.com/axone/axoned/x/logic/types";
8+
option go_package = "github.com/axone-protocol/axoned/x/logic/types";
99

1010
// GenesisState defines the logic module's genesis state.
1111
message GenesisState {

proto/logic/v1beta2/params.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package logic.v1beta2;
44

55
import "gogoproto/gogo.proto";
66

7-
option go_package = "github.com/axone/axoned/x/logic/types";
7+
option go_package = "github.com/axone-protocol/axoned/x/logic/types";
88

99
// Params defines all the configuration parameters of the "logic" module.
1010
message Params {

proto/logic/v1beta2/query.proto

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ import "google/api/annotations.proto";
77
import "logic/v1beta2/params.proto";
88
import "logic/v1beta2/types.proto";
99

10-
option go_package = "github.com/axone/axoned/x/logic/types";
10+
option go_package = "github.com/axone-protocol/axoned/x/logic/types";
1111

1212
// QueryService defines the gRPC querier service.
1313
service QueryService {
1414
// Params queries all parameters for the logic module.
1515
rpc Params(QueryServiceParamsRequest) returns (QueryServiceParamsResponse) {
16-
option (google.api.http).get = "/axone/axoned/logic/params";
16+
option (google.api.http).get = "/axone-protocol/axoned/logic/params";
1717
}
1818

1919
// Ask executes a logic query and returns the solutions found.
2020
// Since the query is without any side-effect, the query is not executed in the context of a transaction and no fee
2121
// is charged for this, but the execution is constrained by the current limits configured in the module.
2222
rpc Ask(QueryServiceAskRequest) returns (QueryServiceAskResponse) {
23-
option (google.api.http).get = "/axone/axoned/logic/ask";
23+
option (google.api.http).get = "/axone-protocol/axoned/logic/ask";
2424
}
2525
}
2626

proto/logic/v1beta2/tx.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import "cosmos_proto/cosmos.proto";
77
import "gogoproto/gogo.proto";
88
import "logic/v1beta2/params.proto";
99

10-
option go_package = "github.com/axone/axoned/x/logic/types";
10+
option go_package = "github.com/axone-protocol/axoned/x/logic/types";
1111

1212
// MsgService defines the service for the logic module.
1313
// Do nothing for now as the service is without any side effects.

proto/logic/v1beta2/types.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package logic.v1beta2;
44

55
import "gogoproto/gogo.proto";
66

7-
option go_package = "github.com/axone/axoned/x/logic/types";
7+
option go_package = "github.com/axone-protocol/axoned/x/logic/types";
88

99
// Substitution represents a substitution made to the variables in the query to obtain the answer.
1010
message Substitution {

proto/mint/v1beta1/genesis.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import "amino/amino.proto";
66
import "gogoproto/gogo.proto";
77
import "mint/v1beta1/mint.proto";
88

9-
option go_package = "github.com/axone/axoned/x/mint/types";
9+
option go_package = "github.com/axone-protocol/axoned/x/mint/types";
1010

1111
// GenesisState defines the mint module's genesis state.
1212
message GenesisState {

proto/mint/v1beta1/mint.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package mint.v1beta1;
55
import "cosmos_proto/cosmos.proto";
66
import "gogoproto/gogo.proto";
77

8-
option go_package = "github.com/axone/axoned/x/mint/types";
8+
option go_package = "github.com/axone-protocol/axoned/x/mint/types";
99

1010
// Minter holds the state of minting within the blockchain.
1111
message Minter {

proto/mint/v1beta1/query.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import "gogoproto/gogo.proto";
77
import "google/api/annotations.proto";
88
import "mint/v1beta1/mint.proto";
99

10-
option go_package = "github.com/axone/axoned/x/mint/types";
10+
option go_package = "github.com/axone-protocol/axoned/x/mint/types";
1111

1212
// Query provides defines the gRPC querier service.
1313
service Query {

proto/mint/v1beta1/tx.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import "cosmos_proto/cosmos.proto";
88
import "gogoproto/gogo.proto";
99
import "mint/v1beta1/mint.proto";
1010

11-
option go_package = "github.com/axone/axoned/x/mint/types";
11+
option go_package = "github.com/axone-protocol/axoned/x/mint/types";
1212

1313
// Msg defines the x/mint Msg service.
1414
service Msg {

proto/vesting/v1beta1/tx.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import "cosmos_proto/cosmos.proto";
99
import "gogoproto/gogo.proto";
1010
import "vesting/v1beta1/vesting.proto";
1111

12-
option go_package = "github.com/axone/axoned/x/vesting/types";
12+
option go_package = "github.com/axone-protocol/axoned/x/vesting/types";
1313

1414
// Msg defines the bank Msg service.
1515
service Msg {

proto/vesting/v1beta1/vesting.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import "cosmos/auth/v1beta1/auth.proto";
77
import "cosmos/base/v1beta1/coin.proto";
88
import "gogoproto/gogo.proto";
99

10-
option go_package = "github.com/axone/axoned/x/vesting/types";
10+
option go_package = "github.com/axone-protocol/axoned/x/vesting/types";
1111

1212
// BaseVestingAccount implements the VestingAccount interface. It contains all
1313
// the necessary fields needed for any vesting account implementation.

scripts/generate_command_doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55

66
"github.com/spf13/cobra/doc"
77

8-
"github.com/axone/axoned/v7/cmd/axoned/cmd"
8+
"github.com/axone-protocol/axoned/v7/cmd/axoned/cmd"
99
)
1010

1111
func generateCommandDocumentation() error {

scripts/protocgen-code.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ echo "Generating gogo proto code"
1717
done
1818
)
1919

20-
cp -r github.com/axone/axoned/* ./
20+
cp -r github.com/axone-protocol/axoned/* ./
2121
rm -rf github.com

starship/configs/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ chains:
1010
coins: 100000000000000uknow
1111
hdPath: m/44'/118'/0'/0/0
1212
coinType: 118
13-
repo: https://github.com/axone/axoned
13+
repo: https://github.com/axone-protocol/axoned
1414
ports:
1515
rest: 1317
1616
rpc: 26657

starship/configs/devnet.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ chains:
1010
coins: 100000000000000uknow
1111
hdPath: m/44'/118'/0'/0/0
1212
coinType: 118
13-
repo: https://github.com/axone/axoned
13+
repo: https://github.com/axone-protocol/axoned
1414
ports:
1515
rest: 1317
1616
rpc: 26657

starship/configs/local.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ chains:
1010
coins: 100000000000000uknow
1111
hdPath: m/44'/118'/0'/0/0
1212
coinType: 118
13-
repo: https://github.com/axone/axoned
13+
repo: https://github.com/axone-protocol/axoned
1414
ports:
1515
rest: 1317
1616
rpc: 26657

starship/tests/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/axone/axoned/starship/tests
1+
module github.com/axone-protocol/axoned/starship/tests
22

33
go 1.21
44

x/logic/client/cli/query.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/cosmos/cosmos-sdk/client"
99

10-
"github.com/axone/axoned/v7/x/logic/types"
10+
"github.com/axone-protocol/axoned/v7/x/logic/types"
1111
)
1212

1313
// GetQueryCmd returns the cli query commands for this module.

x/logic/client/cli/query_ask.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"github.com/cosmos/cosmos-sdk/client/flags"
1313
"github.com/cosmos/cosmos-sdk/version"
1414

15-
"github.com/axone/axoned/v7/x/logic/types"
15+
"github.com/axone-protocol/axoned/v7/x/logic/types"
1616
)
1717

1818
var (

x/logic/client/cli/query_params.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/cosmos/cosmos-sdk/client"
99
"github.com/cosmos/cosmos-sdk/client/flags"
1010

11-
"github.com/axone/axoned/v7/x/logic/types"
11+
"github.com/axone-protocol/axoned/v7/x/logic/types"
1212
)
1313

1414
func CmdQueryParams() *cobra.Command {

x/logic/fs/filtered_fs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"io/fs"
55
"net/url"
66

7-
"github.com/axone/axoned/v7/x/logic/util"
7+
"github.com/axone-protocol/axoned/v7/x/logic/util"
88
)
99

1010
// FilteredFS is a wrapper around a fs.FS that filters out files that are not allowed to be read.

x/logic/fs/filtered_fs_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212

1313
. "github.com/smartystreets/goconvey/convey"
1414

15-
"github.com/axone/axoned/v7/x/logic/testutil"
16-
"github.com/axone/axoned/v7/x/logic/util"
15+
"github.com/axone-protocol/axoned/v7/x/logic/testutil"
16+
"github.com/axone-protocol/axoned/v7/x/logic/util"
1717
)
1818

1919
func TestSourceFile(t *testing.T) {

x/logic/fs/wasm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
sdk "github.com/cosmos/cosmos-sdk/types"
1414

15-
"github.com/axone/axoned/v7/x/logic/types"
15+
"github.com/axone-protocol/axoned/v7/x/logic/types"
1616
)
1717

1818
const (

x/logic/fs/wasm_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121

2222
sdk "github.com/cosmos/cosmos-sdk/types"
2323

24-
"github.com/axone/axoned/v7/x/logic/testutil"
24+
"github.com/axone-protocol/axoned/v7/x/logic/testutil"
2525
)
2626

2727
func TestWasmHandler(t *testing.T) {

0 commit comments

Comments
 (0)