Skip to content

Commit

Permalink
feat: fork neutrons modules in nolus-core repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Lockwarr committed Nov 11, 2024
1 parent 2c16cdd commit 7b57a4a
Show file tree
Hide file tree
Showing 66 changed files with 3,264 additions and 1,173 deletions.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ import (

wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
interchaintxstypes "github.com/neutron-org/neutron/v4/x/interchaintxs/types"
interchaintxstypes "github.com/Nolus-Protocol/nolus-core/x/interchaintxs/types"
)

const (
Expand Down
8 changes: 4 additions & 4 deletions app/keepers/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ import (

wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"

contractmanagermoduletypes "github.com/neutron-org/neutron/v4/x/contractmanager/types"
feerefundertypes "github.com/neutron-org/neutron/v4/x/feerefunder/types"
interchainqueriestypes "github.com/neutron-org/neutron/v4/x/interchainqueries/types"
interchaintxstypes "github.com/neutron-org/neutron/v4/x/interchaintxs/types"
contractmanagermoduletypes "github.com/Nolus-Protocol/nolus-core/x/contractmanager/types"
feerefundertypes "github.com/Nolus-Protocol/nolus-core/x/feerefunder/types"
interchainqueriestypes "github.com/Nolus-Protocol/nolus-core/x/interchainqueries/types"
interchaintxstypes "github.com/Nolus-Protocol/nolus-core/x/interchaintxs/types"
)

func (appKeepers *AppKeepers) GenerateKeys() {
Expand Down
18 changes: 9 additions & 9 deletions app/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ import (
"github.com/CosmWasm/wasmd/x/wasm"
wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"

"github.com/neutron-org/neutron/v4/x/contractmanager"
contractmanagermoduletypes "github.com/neutron-org/neutron/v4/x/contractmanager/types"
"github.com/neutron-org/neutron/v4/x/feerefunder"
feetypes "github.com/neutron-org/neutron/v4/x/feerefunder/types"
"github.com/neutron-org/neutron/v4/x/interchainqueries"
interchainqueriestypes "github.com/neutron-org/neutron/v4/x/interchainqueries/types"
"github.com/neutron-org/neutron/v4/x/interchaintxs"
interchaintxstypes "github.com/neutron-org/neutron/v4/x/interchaintxs/types"
transferSudo "github.com/neutron-org/neutron/v4/x/transfer"
"github.com/Nolus-Protocol/nolus-core/x/contractmanager"
contractmanagermoduletypes "github.com/Nolus-Protocol/nolus-core/x/contractmanager/types"
"github.com/Nolus-Protocol/nolus-core/x/feerefunder"
feetypes "github.com/Nolus-Protocol/nolus-core/x/feerefunder/types"
"github.com/Nolus-Protocol/nolus-core/x/interchainqueries"
interchainqueriestypes "github.com/Nolus-Protocol/nolus-core/x/interchainqueries/types"
"github.com/Nolus-Protocol/nolus-core/x/interchaintxs"
interchaintxstypes "github.com/Nolus-Protocol/nolus-core/x/interchaintxs/types"
transferSudo "github.com/Nolus-Protocol/nolus-core/x/transfer"
)

// module account permissions.
Expand Down
8 changes: 4 additions & 4 deletions app/sim_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ import (
minttypes "github.com/Nolus-Protocol/nolus-core/x/mint/types"
taxmoduletypes "github.com/Nolus-Protocol/nolus-core/x/tax/types"

contractmanagermoduletypes "github.com/neutron-org/neutron/v4/x/contractmanager/types"
feetypes "github.com/neutron-org/neutron/v4/x/feerefunder/types"
interchainqueriestypes "github.com/neutron-org/neutron/v4/x/interchainqueries/types"
interchaintxstypes "github.com/neutron-org/neutron/v4/x/interchaintxs/types"
contractmanagermoduletypes "github.com/Nolus-Protocol/nolus-core/x/contractmanager/types"
feetypes "github.com/Nolus-Protocol/nolus-core/x/feerefunder/types"
interchainqueriestypes "github.com/Nolus-Protocol/nolus-core/x/interchainqueries/types"
interchaintxstypes "github.com/Nolus-Protocol/nolus-core/x/interchaintxs/types"
)

const SimAppChainID = "nolus-simapp"
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/v03/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"

icqtypes "github.com/neutron-org/neutron/v4/x/interchainqueries/types"
icqtypes "github.com/Nolus-Protocol/nolus-core/x/interchainqueries/types"
)

func CreateUpgradeHandler(
Expand Down
10 changes: 5 additions & 5 deletions app/upgrades/v05/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ import (
exported "github.com/cosmos/ibc-go/v8/modules/core/exported"
ibctmmigrations "github.com/cosmos/ibc-go/v8/modules/light-clients/07-tendermint/migrations"

contractmanagerkeeper "github.com/neutron-org/neutron/v4/x/contractmanager/keeper"
contractmanagertypes "github.com/neutron-org/neutron/v4/x/contractmanager/types"
feerefundertypes "github.com/neutron-org/neutron/v4/x/feerefunder/types"
icqtypes "github.com/neutron-org/neutron/v4/x/interchainqueries/types"
interchaintxstypes "github.com/neutron-org/neutron/v4/x/interchaintxs/types"
contractmanagerkeeper "github.com/Nolus-Protocol/nolus-core/x/contractmanager/keeper"
contractmanagertypes "github.com/Nolus-Protocol/nolus-core/x/contractmanager/types"
feerefundertypes "github.com/Nolus-Protocol/nolus-core/x/feerefunder/types"
icqtypes "github.com/Nolus-Protocol/nolus-core/x/interchainqueries/types"
interchaintxstypes "github.com/Nolus-Protocol/nolus-core/x/interchaintxs/types"

wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
)
Expand Down
2 changes: 1 addition & 1 deletion buf.work.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v1
directories:
- proto

- third_party/proto
29 changes: 13 additions & 16 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ require (
github.com/cometbft/cometbft v0.38.12
github.com/cosmos/cosmos-sdk v0.50.9
github.com/cosmos/gogoproto v1.7.0
github.com/cosmos/ibc-go/v8 v8.4.0
github.com/cosmos/ibc-go/v8 v8.5.1
github.com/golang/protobuf v1.5.4
github.com/gorilla/mux v1.8.1
github.com/grpc-ecosystem/grpc-gateway v1.16.0
github.com/neutron-org/neutron/v4 v4.0.0-rc1
github.com/spf13/cast v1.7.0
github.com/spf13/cobra v1.8.1
github.com/spf13/pflag v1.0.5
Expand All @@ -23,7 +22,7 @@ require (

require (
cosmossdk.io/api v0.7.5
cosmossdk.io/client/v2 v2.0.0-beta.1
cosmossdk.io/client/v2 v2.0.0-beta.3
cosmossdk.io/core v0.11.1
cosmossdk.io/errors v1.0.1
cosmossdk.io/log v1.4.1
Expand All @@ -38,22 +37,22 @@ require (
github.com/cosmos/cosmos-db v1.0.2
github.com/cosmos/cosmos-proto v1.0.0-beta.5
github.com/cosmos/ibc-go/modules/capability v1.0.1
github.com/cosmos/ics23/go v0.10.0
github.com/cosmos/ics23/go v0.11.0
github.com/gogo/protobuf v1.3.3
github.com/golang/mock v1.6.0
github.com/hashicorp/go-metrics v0.5.3
github.com/pkg/errors v0.9.1
google.golang.org/genproto/googleapis/api v0.0.0-20240610135401-a8a62080eff3
google.golang.org/genproto/googleapis/api v0.0.0-20240624140628-dc46fd24d27d
google.golang.org/protobuf v1.34.2
gotest.tools/v3 v3.5.1
)

require (
cloud.google.com/go v0.114.0 // indirect
cloud.google.com/go/auth v0.5.1 // indirect
cloud.google.com/go v0.115.0 // indirect
cloud.google.com/go/auth v0.6.0 // indirect
cloud.google.com/go/auth/oauth2adapt v0.2.2 // indirect
cloud.google.com/go/compute/metadata v0.3.0 // indirect
cloud.google.com/go/iam v1.1.8 // indirect
cloud.google.com/go/iam v1.1.9 // indirect
cloud.google.com/go/storage v1.41.0 // indirect
cosmossdk.io/collections v0.4.0 // indirect
cosmossdk.io/depinject v1.0.0 // indirect
Expand All @@ -63,6 +62,7 @@ require (
github.com/99designs/keyring v1.2.2 // indirect
github.com/DataDog/datadog-go v3.2.0+incompatible // indirect
github.com/DataDog/zstd v1.5.5 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/aws/aws-sdk-go v1.44.224 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
Expand Down Expand Up @@ -120,7 +120,7 @@ require (
github.com/google/s2a-go v0.1.7 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
github.com/googleapis/gax-go/v2 v2.12.4 // indirect
github.com/googleapis/gax-go/v2 v2.12.5 // indirect
github.com/gorilla/handlers v1.5.2 // indirect
github.com/gorilla/websocket v1.5.3 // indirect
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect
Expand Down Expand Up @@ -180,7 +180,6 @@ require (
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/sasha-s/go-deadlock v0.3.1 // indirect
github.com/shamaton/msgpack/v2 v2.2.0 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/viper v1.19.0 // indirect
Expand All @@ -200,16 +199,16 @@ require (
go.opentelemetry.io/otel/trace v1.24.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/crypto v0.26.0 // indirect
golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 // indirect
golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8 // indirect
golang.org/x/net v0.28.0 // indirect
golang.org/x/oauth2 v0.21.0 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/sys v0.23.0 // indirect
golang.org/x/sys v0.24.0 // indirect
golang.org/x/term v0.23.0 // indirect
golang.org/x/text v0.17.0 // indirect
golang.org/x/time v0.5.0 // indirect
google.golang.org/api v0.180.0 // indirect
google.golang.org/genproto v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/api v0.186.0 // indirect
google.golang.org/genproto v0.0.0-20240701130421-f6361c86f094 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240709173604-40e1e62336c5 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down Expand Up @@ -241,8 +240,6 @@ replace (
// For more info https://github.com/CosmWasm/wasmd/blob/d63bea442bedf5b3055f3821472c7e6cafc3d813/go.mod#L131
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1

github.com/neutron-org/neutron/v4 => github.com/nolus-protocol/neutron/v4 v4.0.1-nolus

// https://github.com/cosmos/cosmos-sdk/blob/main/UPGRADING.md#replaces
github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
)
Loading

0 comments on commit 7b57a4a

Please sign in to comment.