Skip to content

Commit

Permalink
chore(upgrade): upgrade ixo to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-Ixo committed Oct 19, 2024
1 parent 08c2f5a commit 0118aec
Show file tree
Hide file tree
Showing 216 changed files with 1,955 additions and 1,954 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ FROM golang:${GO_VERSION}-alpine3.18 AS builder

# TODO: maybe extract below args to where called in cicd?
# git log -1 --format='%H'
ARG GIT_VERSION="2.0.0-rc.0"
ARG GIT_VERSION="4.0.0-rc.0"
ARG GIT_COMMIT="ca9e64cf2f8c29b8bb001281abcdcb942dc9fa01"

RUN apk add --no-cache \
Expand Down
12 changes: 6 additions & 6 deletions app/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ import (
authante "github.com/cosmos/cosmos-sdk/x/auth/ante"
ibcante "github.com/cosmos/ibc-go/v8/modules/core/ante"
ibckeeper "github.com/cosmos/ibc-go/v8/modules/core/keeper"
entityante "github.com/ixofoundation/ixo-blockchain/v3/x/entity/ante"
entitykeeper "github.com/ixofoundation/ixo-blockchain/v3/x/entity/keeper"
iidante "github.com/ixofoundation/ixo-blockchain/v3/x/iid/ante"
iidkeeper "github.com/ixofoundation/ixo-blockchain/v3/x/iid/keeper"
smartaccountante "github.com/ixofoundation/ixo-blockchain/v3/x/smart-account/ante"
smartaccountkeeper "github.com/ixofoundation/ixo-blockchain/v3/x/smart-account/keeper"
entityante "github.com/ixofoundation/ixo-blockchain/v4/x/entity/ante"
entitykeeper "github.com/ixofoundation/ixo-blockchain/v4/x/entity/keeper"
iidante "github.com/ixofoundation/ixo-blockchain/v4/x/iid/ante"
iidkeeper "github.com/ixofoundation/ixo-blockchain/v4/x/iid/keeper"
smartaccountante "github.com/ixofoundation/ixo-blockchain/v4/x/smart-account/ante"
smartaccountkeeper "github.com/ixofoundation/ixo-blockchain/v4/x/smart-account/keeper"
)

// HandlerOptions are the options required for constructing a default SDK AnteHandler.
Expand Down
16 changes: 8 additions & 8 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ import (
txmodule "github.com/cosmos/cosmos-sdk/x/auth/tx/config"
"github.com/cosmos/cosmos-sdk/x/crisis"
"github.com/gorilla/mux"
"github.com/ixofoundation/ixo-blockchain/v3/app/keepers"
"github.com/ixofoundation/ixo-blockchain/v3/app/params"
"github.com/ixofoundation/ixo-blockchain/v3/app/upgrades"
v2 "github.com/ixofoundation/ixo-blockchain/v3/app/upgrades/v2"
v3 "github.com/ixofoundation/ixo-blockchain/v3/app/upgrades/v3"
v4 "github.com/ixofoundation/ixo-blockchain/v3/app/upgrades/v4"
"github.com/ixofoundation/ixo-blockchain/v3/docs"
"github.com/ixofoundation/ixo-blockchain/v3/lib/ixo"
"github.com/ixofoundation/ixo-blockchain/v4/app/keepers"
"github.com/ixofoundation/ixo-blockchain/v4/app/params"
"github.com/ixofoundation/ixo-blockchain/v4/app/upgrades"
v2 "github.com/ixofoundation/ixo-blockchain/v4/app/upgrades/v2"
v3 "github.com/ixofoundation/ixo-blockchain/v4/app/upgrades/v3"
v4 "github.com/ixofoundation/ixo-blockchain/v4/app/upgrades/v4"
"github.com/ixofoundation/ixo-blockchain/v4/docs"
"github.com/ixofoundation/ixo-blockchain/v4/lib/ixo"
"github.com/spf13/cast"
)

Expand Down
4 changes: 2 additions & 2 deletions app/encoding.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package app

import (
"github.com/ixofoundation/ixo-blockchain/v3/app/keepers"
"github.com/ixofoundation/ixo-blockchain/v3/app/params"
"github.com/ixofoundation/ixo-blockchain/v4/app/keepers"
"github.com/ixofoundation/ixo-blockchain/v4/app/params"

"github.com/cosmos/cosmos-sdk/std"
)
Expand Down
36 changes: 18 additions & 18 deletions app/keepers/keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,24 +80,24 @@ import (

// Local
servertypes "github.com/cosmos/cosmos-sdk/server/types"
wasmbinding "github.com/ixofoundation/ixo-blockchain/v3/wasmbinding"
bondskeeper "github.com/ixofoundation/ixo-blockchain/v3/x/bonds/keeper"
bondstypes "github.com/ixofoundation/ixo-blockchain/v3/x/bonds/types"
claimsmodulekeeper "github.com/ixofoundation/ixo-blockchain/v3/x/claims/keeper"
claimsmoduletypes "github.com/ixofoundation/ixo-blockchain/v3/x/claims/types"
entitykeeper "github.com/ixofoundation/ixo-blockchain/v3/x/entity/keeper"
entitytypes "github.com/ixofoundation/ixo-blockchain/v3/x/entity/types"
epochskeeper "github.com/ixofoundation/ixo-blockchain/v3/x/epochs/keeper"
epochstypes "github.com/ixofoundation/ixo-blockchain/v3/x/epochs/types"
iidmodulekeeper "github.com/ixofoundation/ixo-blockchain/v3/x/iid/keeper"
iidtypes "github.com/ixofoundation/ixo-blockchain/v3/x/iid/types"
mintkeeper "github.com/ixofoundation/ixo-blockchain/v3/x/mint/keeper"
minttypes "github.com/ixofoundation/ixo-blockchain/v3/x/mint/types"
"github.com/ixofoundation/ixo-blockchain/v3/x/smart-account/authenticator"
smartaccountkeeper "github.com/ixofoundation/ixo-blockchain/v3/x/smart-account/keeper"
smartaccounttypes "github.com/ixofoundation/ixo-blockchain/v3/x/smart-account/types"
tokenkeeper "github.com/ixofoundation/ixo-blockchain/v3/x/token/keeper"
tokentypes "github.com/ixofoundation/ixo-blockchain/v3/x/token/types"
wasmbinding "github.com/ixofoundation/ixo-blockchain/v4/wasmbinding"
bondskeeper "github.com/ixofoundation/ixo-blockchain/v4/x/bonds/keeper"
bondstypes "github.com/ixofoundation/ixo-blockchain/v4/x/bonds/types"
claimsmodulekeeper "github.com/ixofoundation/ixo-blockchain/v4/x/claims/keeper"
claimsmoduletypes "github.com/ixofoundation/ixo-blockchain/v4/x/claims/types"
entitykeeper "github.com/ixofoundation/ixo-blockchain/v4/x/entity/keeper"
entitytypes "github.com/ixofoundation/ixo-blockchain/v4/x/entity/types"
epochskeeper "github.com/ixofoundation/ixo-blockchain/v4/x/epochs/keeper"
epochstypes "github.com/ixofoundation/ixo-blockchain/v4/x/epochs/types"
iidmodulekeeper "github.com/ixofoundation/ixo-blockchain/v4/x/iid/keeper"
iidtypes "github.com/ixofoundation/ixo-blockchain/v4/x/iid/types"
mintkeeper "github.com/ixofoundation/ixo-blockchain/v4/x/mint/keeper"
minttypes "github.com/ixofoundation/ixo-blockchain/v4/x/mint/types"
"github.com/ixofoundation/ixo-blockchain/v4/x/smart-account/authenticator"
smartaccountkeeper "github.com/ixofoundation/ixo-blockchain/v4/x/smart-account/keeper"
smartaccounttypes "github.com/ixofoundation/ixo-blockchain/v4/x/smart-account/types"
tokenkeeper "github.com/ixofoundation/ixo-blockchain/v4/x/token/keeper"
tokentypes "github.com/ixofoundation/ixo-blockchain/v4/x/token/types"
)

type AppKeepers struct {
Expand Down
20 changes: 10 additions & 10 deletions app/keepers/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ import (
transfer "github.com/cosmos/ibc-go/v8/modules/apps/transfer"
ibc "github.com/cosmos/ibc-go/v8/modules/core"
tendermint "github.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint"
"github.com/ixofoundation/ixo-blockchain/v3/x/bonds"
"github.com/ixofoundation/ixo-blockchain/v3/x/claims"
"github.com/ixofoundation/ixo-blockchain/v3/x/entity"
entityclient "github.com/ixofoundation/ixo-blockchain/v3/x/entity/client"
"github.com/ixofoundation/ixo-blockchain/v3/x/epochs"
"github.com/ixofoundation/ixo-blockchain/v3/x/iid"
"github.com/ixofoundation/ixo-blockchain/v3/x/mint"
smartaccount "github.com/ixofoundation/ixo-blockchain/v3/x/smart-account"
"github.com/ixofoundation/ixo-blockchain/v3/x/token"
tokenclient "github.com/ixofoundation/ixo-blockchain/v3/x/token/client"
"github.com/ixofoundation/ixo-blockchain/v4/x/bonds"
"github.com/ixofoundation/ixo-blockchain/v4/x/claims"
"github.com/ixofoundation/ixo-blockchain/v4/x/entity"
entityclient "github.com/ixofoundation/ixo-blockchain/v4/x/entity/client"
"github.com/ixofoundation/ixo-blockchain/v4/x/epochs"
"github.com/ixofoundation/ixo-blockchain/v4/x/iid"
"github.com/ixofoundation/ixo-blockchain/v4/x/mint"
smartaccount "github.com/ixofoundation/ixo-blockchain/v4/x/smart-account"
"github.com/ixofoundation/ixo-blockchain/v4/x/token"
tokenclient "github.com/ixofoundation/ixo-blockchain/v4/x/token/client"
)

// AppModuleBasics returns ModuleBasics for the module BasicManager.
Expand Down
36 changes: 18 additions & 18 deletions app/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,24 +56,24 @@ import (
ibc "github.com/cosmos/ibc-go/v8/modules/core"
ibchost "github.com/cosmos/ibc-go/v8/modules/core/exported"
ibctm "github.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint"
"github.com/ixofoundation/ixo-blockchain/v3/x/bonds"
bondstypes "github.com/ixofoundation/ixo-blockchain/v3/x/bonds/types"
claimsmodule "github.com/ixofoundation/ixo-blockchain/v3/x/claims"
claimsmoduletypes "github.com/ixofoundation/ixo-blockchain/v3/x/claims/types"
entitymodule "github.com/ixofoundation/ixo-blockchain/v3/x/entity"
entityclient "github.com/ixofoundation/ixo-blockchain/v3/x/entity/client"
entitytypes "github.com/ixofoundation/ixo-blockchain/v3/x/entity/types"
"github.com/ixofoundation/ixo-blockchain/v3/x/epochs"
epochstypes "github.com/ixofoundation/ixo-blockchain/v3/x/epochs/types"
iidmodule "github.com/ixofoundation/ixo-blockchain/v3/x/iid"
iidtypes "github.com/ixofoundation/ixo-blockchain/v3/x/iid/types"
"github.com/ixofoundation/ixo-blockchain/v3/x/mint"
minttypes "github.com/ixofoundation/ixo-blockchain/v3/x/mint/types"
smartaccount "github.com/ixofoundation/ixo-blockchain/v3/x/smart-account"
smartaccounttypes "github.com/ixofoundation/ixo-blockchain/v3/x/smart-account/types"
tokenmodule "github.com/ixofoundation/ixo-blockchain/v3/x/token"
tokenclient "github.com/ixofoundation/ixo-blockchain/v3/x/token/client"
tokentypes "github.com/ixofoundation/ixo-blockchain/v3/x/token/types"
"github.com/ixofoundation/ixo-blockchain/v4/x/bonds"
bondstypes "github.com/ixofoundation/ixo-blockchain/v4/x/bonds/types"
claimsmodule "github.com/ixofoundation/ixo-blockchain/v4/x/claims"
claimsmoduletypes "github.com/ixofoundation/ixo-blockchain/v4/x/claims/types"
entitymodule "github.com/ixofoundation/ixo-blockchain/v4/x/entity"
entityclient "github.com/ixofoundation/ixo-blockchain/v4/x/entity/client"
entitytypes "github.com/ixofoundation/ixo-blockchain/v4/x/entity/types"
"github.com/ixofoundation/ixo-blockchain/v4/x/epochs"
epochstypes "github.com/ixofoundation/ixo-blockchain/v4/x/epochs/types"
iidmodule "github.com/ixofoundation/ixo-blockchain/v4/x/iid"
iidtypes "github.com/ixofoundation/ixo-blockchain/v4/x/iid/types"
"github.com/ixofoundation/ixo-blockchain/v4/x/mint"
minttypes "github.com/ixofoundation/ixo-blockchain/v4/x/mint/types"
smartaccount "github.com/ixofoundation/ixo-blockchain/v4/x/smart-account"
smartaccounttypes "github.com/ixofoundation/ixo-blockchain/v4/x/smart-account/types"
tokenmodule "github.com/ixofoundation/ixo-blockchain/v4/x/token"
tokenclient "github.com/ixofoundation/ixo-blockchain/v4/x/token/client"
tokentypes "github.com/ixofoundation/ixo-blockchain/v4/x/token/types"
)

// moduleAccountPermissions defines module account permissions
Expand Down
4 changes: 2 additions & 2 deletions app/posthandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"

smartaccountkeeper "github.com/ixofoundation/ixo-blockchain/v3/x/smart-account/keeper"
smartaccountpost "github.com/ixofoundation/ixo-blockchain/v3/x/smart-account/post"
smartaccountkeeper "github.com/ixofoundation/ixo-blockchain/v4/x/smart-account/keeper"
smartaccountpost "github.com/ixofoundation/ixo-blockchain/v4/x/smart-account/post"
)

func NewPostHandler(
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
upgradetypes "cosmossdk.io/x/upgrade/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
"github.com/ixofoundation/ixo-blockchain/v3/app/keepers"
"github.com/ixofoundation/ixo-blockchain/v4/app/keepers"
)

// Upgrade defines a struct containing necessary fields that a SoftwareUpgradeProposal
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/v2/constants.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package v2

import (
"github.com/ixofoundation/ixo-blockchain/v3/app/upgrades"
"github.com/ixofoundation/ixo-blockchain/v4/app/upgrades"

store "cosmossdk.io/store/types"
packetforwardtypes "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v8/packetforward/types"
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/v2/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
upgradetypes "cosmossdk.io/x/upgrade/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
"github.com/ixofoundation/ixo-blockchain/v3/app/keepers"
"github.com/ixofoundation/ixo-blockchain/v4/app/keepers"
)

func CreateUpgradeHandler(
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/v3/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package v3
import (
store "cosmossdk.io/store/types"

"github.com/ixofoundation/ixo-blockchain/v3/app/upgrades"
"github.com/ixofoundation/ixo-blockchain/v4/app/upgrades"
)

// UpgradeName defines the on-chain upgrade name for the Ixo v3 upgrade.
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/v3/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
upgradetypes "cosmossdk.io/x/upgrade/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
"github.com/ixofoundation/ixo-blockchain/v3/app/keepers"
"github.com/ixofoundation/ixo-blockchain/v4/app/keepers"
)

func CreateUpgradeHandler(
Expand Down
8 changes: 4 additions & 4 deletions app/upgrades/v4/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types"
cosmosminttypes "github.com/cosmos/cosmos-sdk/x/mint/types"
ibchooks "github.com/cosmos/ibc-apps/modules/ibc-hooks/v8/types"
"github.com/ixofoundation/ixo-blockchain/v3/app/upgrades"
epochstypes "github.com/ixofoundation/ixo-blockchain/v3/x/epochs/types"
minttypes "github.com/ixofoundation/ixo-blockchain/v3/x/mint/types"
smartaccounttypes "github.com/ixofoundation/ixo-blockchain/v3/x/smart-account/types"
"github.com/ixofoundation/ixo-blockchain/v4/app/upgrades"
epochstypes "github.com/ixofoundation/ixo-blockchain/v4/x/epochs/types"
minttypes "github.com/ixofoundation/ixo-blockchain/v4/x/mint/types"
smartaccounttypes "github.com/ixofoundation/ixo-blockchain/v4/x/smart-account/types"
)

// UpgradeName defines the on-chain upgrade name for the Ixo v4 upgrade.
Expand Down
16 changes: 8 additions & 8 deletions app/upgrades/v4/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ import (
ibcexported "github.com/cosmos/ibc-go/v8/modules/core/exported"

// Local
"github.com/ixofoundation/ixo-blockchain/v3/app/keepers"
"github.com/ixofoundation/ixo-blockchain/v3/lib/ixo"
"github.com/ixofoundation/ixo-blockchain/v3/wasmbinding"
bondstypes "github.com/ixofoundation/ixo-blockchain/v3/x/bonds/types"
claimsmoduletypes "github.com/ixofoundation/ixo-blockchain/v3/x/claims/types"
entitytypes "github.com/ixofoundation/ixo-blockchain/v3/x/entity/types"
smartaccounttypes "github.com/ixofoundation/ixo-blockchain/v3/x/smart-account/types"
tokentypes "github.com/ixofoundation/ixo-blockchain/v3/x/token/types"
"github.com/ixofoundation/ixo-blockchain/v4/app/keepers"
"github.com/ixofoundation/ixo-blockchain/v4/lib/ixo"
"github.com/ixofoundation/ixo-blockchain/v4/wasmbinding"
bondstypes "github.com/ixofoundation/ixo-blockchain/v4/x/bonds/types"
claimsmoduletypes "github.com/ixofoundation/ixo-blockchain/v4/x/claims/types"
entitytypes "github.com/ixofoundation/ixo-blockchain/v4/x/entity/types"
smartaccounttypes "github.com/ixofoundation/ixo-blockchain/v4/x/smart-account/types"
tokentypes "github.com/ixofoundation/ixo-blockchain/v4/x/token/types"

// SDK v47 modules
"cosmossdk.io/math"
Expand Down
2 changes: 1 addition & 1 deletion cmd/ixod/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import (
"github.com/cosmos/cosmos-sdk/x/crisis"
genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli"
genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types"
"github.com/ixofoundation/ixo-blockchain/v3/app"
"github.com/ixofoundation/ixo-blockchain/v4/app"
"github.com/prometheus/client_golang/prometheus"
"github.com/spf13/cast"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion cmd/ixod/cmd/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"github.com/cosmos/cosmos-sdk/x/genutil"
genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
ixo "github.com/ixofoundation/ixo-blockchain/v3/app"
ixo "github.com/ixofoundation/ixo-blockchain/v4/app"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
)
Expand Down
6 changes: 3 additions & 3 deletions cmd/ixod/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"os"

svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
"github.com/ixofoundation/ixo-blockchain/v3/app"
"github.com/ixofoundation/ixo-blockchain/v3/app/params"
"github.com/ixofoundation/ixo-blockchain/v3/cmd/ixod/cmd"
"github.com/ixofoundation/ixo-blockchain/v4/app"
"github.com/ixofoundation/ixo-blockchain/v4/app/params"
"github.com/ixofoundation/ixo-blockchain/v4/cmd/ixod/cmd"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/ixofoundation/ixo-blockchain/v3
module github.com/ixofoundation/ixo-blockchain/v4

go 1.22.3

Expand Down
2 changes: 1 addition & 1 deletion ixomath/decimal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/stretchr/testify/suite"
"gopkg.in/yaml.v2"

"github.com/ixofoundation/ixo-blockchain/v3/ixomath"
"github.com/ixofoundation/ixo-blockchain/v4/ixomath"
)

type decimalTestSuite struct {
Expand Down
2 changes: 1 addition & 1 deletion ixomath/exp2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/stretchr/testify/require"

"github.com/ixofoundation/ixo-blockchain/v3/ixomath"
"github.com/ixofoundation/ixo-blockchain/v4/ixomath"
)

var (
Expand Down
10 changes: 5 additions & 5 deletions proto/ixo/bonds/v1beta1/bonds.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto";
import "cosmos_proto/cosmos.proto";
import "cosmos/base/v1beta1/coin.proto";

option go_package = "github.com/ixofoundation/ixo-blockchain/v3/x/bonds/types";
option go_package = "github.com/ixofoundation/ixo-blockchain/v4/x/bonds/types";

// FunctionParam is a key-value pair used for specifying a specific bond
// parameter.
Expand Down Expand Up @@ -39,11 +39,11 @@ message Bond {
string description = 3;
string creator_did = 4 [
(gogoproto.casttype) =
"github.com/ixofoundation/ixo-blockchain/v3/x/iid/types.DIDFragment"
"github.com/ixofoundation/ixo-blockchain/v4/x/iid/types.DIDFragment"
];
string controller_did = 5 [
(gogoproto.casttype) =
"github.com/ixofoundation/ixo-blockchain/v3/x/iid/types.DIDFragment"
"github.com/ixofoundation/ixo-blockchain/v4/x/iid/types.DIDFragment"
];
string function_type = 6;
repeated FunctionParam function_parameters = 7 [
Expand Down Expand Up @@ -108,7 +108,7 @@ message Bond {
string bond_did = 27;
string oracle_did = 28 [
(gogoproto.casttype) =
"github.com/ixofoundation/ixo-blockchain/v3/x/iid/types.DIDFragment"
"github.com/ixofoundation/ixo-blockchain/v4/x/iid/types.DIDFragment"
];
}

Expand All @@ -117,7 +117,7 @@ message Bond {
message BaseOrder {
string account_did = 1 [
(gogoproto.casttype) =
"github.com/ixofoundation/ixo-blockchain/v3/x/iid/types.DIDFragment"
"github.com/ixofoundation/ixo-blockchain/v4/x/iid/types.DIDFragment"
];
cosmos.base.v1beta1.Coin amount = 2 [ (gogoproto.nullable) = false ];
bool cancelled = 3;
Expand Down
2 changes: 1 addition & 1 deletion proto/ixo/bonds/v1beta1/event.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
syntax = "proto3";
package ixo.bonds.v1beta1;

option go_package = "github.com/ixofoundation/ixo-blockchain/v3/x/bonds/types";
option go_package = "github.com/ixofoundation/ixo-blockchain/v4/x/bonds/types";

import "gogoproto/gogo.proto";
import "ixo/bonds/v1beta1/bonds.proto";
Expand Down
2 changes: 1 addition & 1 deletion proto/ixo/bonds/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package ixo.bonds.v1beta1;
import "gogoproto/gogo.proto";
import "ixo/bonds/v1beta1/bonds.proto";

option go_package = "github.com/ixofoundation/ixo-blockchain/v3/x/bonds/types";
option go_package = "github.com/ixofoundation/ixo-blockchain/v4/x/bonds/types";

// GenesisState defines the bonds module's genesis state.
message GenesisState {
Expand Down
2 changes: 1 addition & 1 deletion proto/ixo/bonds/v1beta1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "cosmos/base/v1beta1/coin.proto";
import "cosmos_proto/cosmos.proto";
import "ixo/bonds/v1beta1/bonds.proto";

option go_package = "github.com/ixofoundation/ixo-blockchain/v3/x/bonds/types";
option go_package = "github.com/ixofoundation/ixo-blockchain/v4/x/bonds/types";

// Query defines the gRPC querier service.
service Query {
Expand Down
Loading

0 comments on commit 0118aec

Please sign in to comment.