Skip to content

Commit 8afc79b

Browse files
committed
refactor(renaming): rename import in proto and regenerate it
1 parent 1f023f5 commit 8afc79b

31 files changed

+306
-307
lines changed

cmd/axoned/cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func NewRootCmd() *cobra.Command {
7979
AXONE Daemon 👹 - a revolutionary public PoS layer 1 specifically designed to enable communities to trustlessly share data,
8080
algorithms and resources to build the Dataverse!
8181
82-
Want to lean more about AXONE network? Complete documentation is available at https://docs.okp4.network 👀
82+
Want to lean more about AXONE network? Complete documentation is available at https://docs.axone.xyz 👀
8383
`,
8484
PersistentPreRunE: func(cmd *cobra.Command, _ []string) error {
8585
// set the default command outputs

docs/proto/logic.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ Interpreter defines the various parameters for the interpreter.
264264
| ----- | ---- | ----- | ----------- |
265265
| `predicates_filter` | [Filter](#logic.v1beta2.Filter) | | predicates_filter specifies the filter for the predicates that are allowed to be used by the interpreter. The filter is used to whitelist or blacklist predicates represented as `<predicate_name>/[<arity>]`, for example: `findall/3`, or `call`. If a predicate name without arity is included in the filter, then all predicates with that name will be considered regardless of arity. For example, if `call` is included in the filter, then all predicates `call/1`, `call/2`, `call/3`... will be allowed. |
266266
| `bootstrap` | [string](#string) | | bootstrap specifies the initial program to run when booting the logic interpreter. If not specified, the default boot sequence will be executed. |
267-
| `virtual_files_filter` | [Filter](#logic.v1beta2.Filter) | | virtual_files_filter specifies the filter for the virtual files that are allowed to be used by the interpreter. The filter is used to whitelist or blacklist virtual files represented as URI, for example: `file:///path/to/file`, `cosmwasm:cw-storage:okp4...?query=foo` The filter is applied to the components of the URI, for example: `file:///path/to/file` -> `file`, `/path/to/file` `cosmwasm:cw-storage:okp4...?query=foo` -> `cosmwasm`, `cw-storage`, `okp4...`, `query=foo` If a component is included in the filter, then all components with that name will be considered, starting from the beginning of the URI. For example, if `file` is included in the filter, then all URIs that start with `file` will be allowed, regardless of the rest of the components. But `file2` will not be allowed. If the component is not included in the filter, then the component is ignored and the next component is considered. |
267+
| `virtual_files_filter` | [Filter](#logic.v1beta2.Filter) | | virtual_files_filter specifies the filter for the virtual files that are allowed to be used by the interpreter. The filter is used to whitelist or blacklist virtual files represented as URI, for example: `file:///path/to/file`, `cosmwasm:cw-storage:axone...?query=foo` The filter is applied to the components of the URI, for example: `file:///path/to/file` -> `file`, `/path/to/file` `cosmwasm:cw-storage:axone...?query=foo` -> `cosmwasm`, `cw-storage`, `axone...`, `query=foo` If a component is included in the filter, then all components with that name will be considered, starting from the beginning of the URI. For example, if `file` is included in the filter, then all URIs that start with `file` will be allowed, regardless of the rest of the components. But `file2` will not be allowed. If the component is not included in the filter, then the component is ignored and the next component is considered. |
268268

269269
<a name="logic.v1beta2.Limits"></a>
270270

@@ -440,8 +440,8 @@ QueryService defines the gRPC querier service.
440440

441441
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
442442
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
443-
| `Params` | [QueryServiceParamsRequest](#logic.v1beta2.QueryServiceParamsRequest) | [QueryServiceParamsResponse](#logic.v1beta2.QueryServiceParamsResponse) | Params queries all parameters for the logic module. | GET|/okp4/okp4d/logic/params|
444-
| `Ask` | [QueryServiceAskRequest](#logic.v1beta2.QueryServiceAskRequest) | [QueryServiceAskResponse](#logic.v1beta2.QueryServiceAskResponse) | Ask executes a logic query and returns the solutions found. Since the query is without any side-effect, the query is not executed in the context of a transaction and no fee is charged for this, but the execution is constrained by the current limits configured in the module. | GET|/okp4/okp4d/logic/ask|
443+
| `Params` | [QueryServiceParamsRequest](#logic.v1beta2.QueryServiceParamsRequest) | [QueryServiceParamsResponse](#logic.v1beta2.QueryServiceParamsResponse) | Params queries all parameters for the logic module. | GET|/axone/axoned/logic/params|
444+
| `Ask` | [QueryServiceAskRequest](#logic.v1beta2.QueryServiceAskRequest) | [QueryServiceAskResponse](#logic.v1beta2.QueryServiceAskResponse) | Ask executes a logic query and returns the solutions found. Since the query is without any side-effect, the query is not executed in the context of a transaction and no fee is charged for this, but the execution is constrained by the current limits configured in the module. | GET|/axone/axoned/logic/ask|
445445

446446
[//]: # (end services)
447447

docs/proto/mint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ key parameters with each block to maintain a balanced token supply.
1313
## Calculation of Inflation
1414

1515
The method for determining the inflation rate is outlined in the
16-
[OKP4 Whitepaper - Token Model](https://docs.okp4.network/whitepaper/token-model).
16+
[AXONE Whitepaper - Token Model](https://docs.axone.xyz/whitepaper/token-model).
1717

1818
## Per-Block Token Generation
1919

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/okp4/okp4d
2+
name: buf.build/axone/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/okp4/okp4d/x/logic/types";
8+
option go_package = "github.com/axone/axoned/x/logic/types";
99

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

proto/logic/v1beta2/params.proto

Lines changed: 3 additions & 3 deletions
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/okp4/okp4d/x/logic/types";
7+
option go_package = "github.com/axone/axoned/x/logic/types";
88

99
// Params defines all the configuration parameters of the "logic" module.
1010
message Params {
@@ -114,10 +114,10 @@ message Interpreter {
114114

115115
// virtual_files_filter specifies the filter for the virtual files that are allowed to be used by the interpreter.
116116
// The filter is used to whitelist or blacklist virtual files represented as URI, for example:
117-
// `file:///path/to/file`, `cosmwasm:cw-storage:okp4...?query=foo`
117+
// `file:///path/to/file`, `cosmwasm:cw-storage:axone...?query=foo`
118118
// The filter is applied to the components of the URI, for example:
119119
// `file:///path/to/file` -> `file`, `/path/to/file`
120-
// `cosmwasm:cw-storage:okp4...?query=foo` -> `cosmwasm`, `cw-storage`, `okp4...`, `query=foo`
120+
// `cosmwasm:cw-storage:axone...?query=foo` -> `cosmwasm`, `cw-storage`, `axone...`, `query=foo`
121121
// If a component is included in the filter, then all components with that name will be considered, starting from the
122122
// beginning of the URI. For example, if `file` is included in the filter, then all URIs that start with `file` will be
123123
// allowed, regardless of the rest of the components. But `file2` will not be allowed.

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/okp4/okp4d/x/logic/types";
10+
option go_package = "github.com/axone/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 = "/okp4/okp4d/logic/params";
16+
option (google.api.http).get = "/axone/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 = "/okp4/okp4d/logic/ask";
23+
option (google.api.http).get = "/axone/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/okp4/okp4d/x/logic/types";
10+
option go_package = "github.com/axone/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: 2 additions & 4 deletions
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/okp4/okp4d/x/logic/types";
7+
option go_package = "github.com/axone/axoned/x/logic/types";
88

99
// Substitution represents a substitution made to the variables in the query to obtain the answer.
1010
message Substitution {
@@ -40,9 +40,7 @@ message Answer {
4040
// has_more specifies if there are more solutions than the ones returned.
4141
bool has_more = 2 [(gogoproto.moretags) = "yaml:\"has_more\",omitempty"];
4242
// variables represent all the variables in the query.
43-
repeated string variables = 3 [
44-
(gogoproto.moretags) = "yaml:\"variables\",omitempty"
45-
];
43+
repeated string variables = 3 [(gogoproto.moretags) = "yaml:\"variables\",omitempty"];
4644
// results represent all the results of the query.
4745
repeated Result results = 4 [
4846
(gogoproto.nullable) = false,

proto/mint/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: |
88
## Calculation of Inflation
99
1010
The method for determining the inflation rate is outlined in the
11-
[OKP4 Whitepaper - Token Model](https://docs.okp4.network/whitepaper/token-model).
11+
[AXONE Whitepaper - Token Model](https://docs.axone.xyz/whitepaper/token-model).
1212
1313
## Per-Block Token Generation
1414

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/okp4/okp4d/x/mint/types";
9+
option go_package = "github.com/axone/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/okp4/okp4d/x/mint/types";
8+
option go_package = "github.com/axone/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/okp4/okp4d/x/mint/types";
10+
option go_package = "github.com/axone/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/okp4/okp4d/x/mint/types";
11+
option go_package = "github.com/axone/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/okp4/okp4d/x/vesting/types";
12+
option go_package = "github.com/axone/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/okp4/okp4d/x/vesting/types";
10+
option go_package = "github.com/axone/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/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/okp4/okp4d/* ./
20+
cp -r github.com/axone/axoned/* ./
2121
rm -rf github.com

x/logic/types/codec.go

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

1111
// RegisterLegacyAminoCodec registers concrete types on the LegacyAmino codec.
1212
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {
13-
cdc.RegisterConcrete(Params{}, "okp4/logic/Params", nil)
14-
legacy.RegisterAminoMsg(cdc, &MsgUpdateParams{}, "okp4/logic/MsgUpdateParams")
13+
cdc.RegisterConcrete(Params{}, "axone/logic/Params", nil)
14+
legacy.RegisterAminoMsg(cdc, &MsgUpdateParams{}, "axone/logic/MsgUpdateParams")
1515
}
1616

1717
// RegisterInterfaces registers the interfaces types with the interface registry.

x/logic/types/genesis.pb.go

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)