Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into chore/better_update_f…
Browse files Browse the repository at this point in the history
…n_naming
  • Loading branch information
jcompagni10 committed Oct 11, 2024
2 parents e2d073b + b99050e commit dc02518
Show file tree
Hide file tree
Showing 563 changed files with 17,041 additions and 7,200 deletions.
4 changes: 2 additions & 2 deletions app/ante_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import (
ibcconsumerkeeper "github.com/cosmos/interchain-security/v5/x/ccv/consumer/keeper"
feemarketante "github.com/skip-mev/feemarket/x/feemarket/ante"

globalfeeante "github.com/neutron-org/neutron/v4/x/globalfee/ante"
globalfeekeeper "github.com/neutron-org/neutron/v4/x/globalfee/keeper"
globalfeeante "github.com/neutron-org/neutron/v5/x/globalfee/ante"
globalfeekeeper "github.com/neutron-org/neutron/v5/x/globalfee/keeper"
)

// HandlerOptions extend the SDK's AnteHandler options by requiring the IBC
Expand Down
309 changes: 181 additions & 128 deletions app/app.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/encoding.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package app
import (
"github.com/cosmos/cosmos-sdk/std"

"github.com/neutron-org/neutron/v4/app/params"
"github.com/neutron-org/neutron/v5/app/params"
)

// MakeEncodingConfig creates an EncodingConfig for testing
Expand Down
24 changes: 13 additions & 11 deletions app/proposals_allowlisting.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,21 @@ import (
ibctransfertypes "github.com/cosmos/ibc-go/v8/modules/apps/transfer/types"
ibcclienttypes "github.com/cosmos/ibc-go/v8/modules/core/02-client/types" //nolint:staticcheck
ccvconsumertypes "github.com/cosmos/interchain-security/v5/x/ccv/consumer/types"
ibcratelimittypes "github.com/neutron-org/neutron/v5/x/ibc-rate-limit/types"
feemarkettypes "github.com/skip-mev/feemarket/x/feemarket/types"
marketmaptypes "github.com/skip-mev/slinky/x/marketmap/types"

dynamicfeestypes "github.com/neutron-org/neutron/v4/x/dynamicfees/types"
globalfeetypes "github.com/neutron-org/neutron/v4/x/globalfee/types"
dynamicfeestypes "github.com/neutron-org/neutron/v5/x/dynamicfees/types"
globalfeetypes "github.com/neutron-org/neutron/v5/x/globalfee/types"

contractmanagertypes "github.com/neutron-org/neutron/v4/x/contractmanager/types"
crontypes "github.com/neutron-org/neutron/v4/x/cron/types"
dextypes "github.com/neutron-org/neutron/v4/x/dex/types"
feeburnertypes "github.com/neutron-org/neutron/v4/x/feeburner/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"
tokenfactorytypes "github.com/neutron-org/neutron/v4/x/tokenfactory/types"
contractmanagertypes "github.com/neutron-org/neutron/v5/x/contractmanager/types"
crontypes "github.com/neutron-org/neutron/v5/x/cron/types"
dextypes "github.com/neutron-org/neutron/v5/x/dex/types"
feeburnertypes "github.com/neutron-org/neutron/v5/x/feeburner/types"
feerefundertypes "github.com/neutron-org/neutron/v5/x/feerefunder/types"
interchainqueriestypes "github.com/neutron-org/neutron/v5/x/interchainqueries/types"
interchaintxstypes "github.com/neutron-org/neutron/v5/x/interchaintxs/types"
tokenfactorytypes "github.com/neutron-org/neutron/v5/x/tokenfactory/types"
)

func IsConsumerProposalAllowlisted(content govtypes.Content) bool {
Expand Down Expand Up @@ -93,7 +94,8 @@ func isSdkMessageWhitelisted(msg sdk.Msg) bool {
*feemarkettypes.MsgParams,
*dynamicfeestypes.MsgUpdateParams,
*ibctransfertypes.MsgUpdateParams,
*globalfeetypes.MsgUpdateParams:
*globalfeetypes.MsgUpdateParams,
*ibcratelimittypes.MsgUpdateParams:
return true
}
return false
Expand Down
6 changes: 3 additions & 3 deletions app/proposals_allowlisting_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ package app_test
import (
"testing"

"github.com/neutron-org/neutron/v4/app/config"
"github.com/neutron-org/neutron/v5/app/config"

cmttypes "github.com/cometbft/cometbft/types"
ibctesting "github.com/cosmos/ibc-go/v8/testing"
icssimapp "github.com/cosmos/interchain-security/v5/testutil/ibc_testing"
"github.com/stretchr/testify/require"

"github.com/neutron-org/neutron/v4/app"
"github.com/neutron-org/neutron/v4/testutil"
"github.com/neutron-org/neutron/v5/app"
"github.com/neutron-org/neutron/v5/testutil"
)

func TestConsumerWhitelistingKeys(t *testing.T) {
Expand Down
16 changes: 9 additions & 7 deletions app/upgrades/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,19 @@ import (
slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper"
capabilitykeeper "github.com/cosmos/ibc-go/modules/capability/keeper"
ccvconsumerkeeper "github.com/cosmos/interchain-security/v5/x/ccv/consumer/keeper"
dexkeeper "github.com/neutron-org/neutron/v5/x/dex/keeper"
ibcratelimitkeeper "github.com/neutron-org/neutron/v5/x/ibc-rate-limit/keeper"
auctionkeeper "github.com/skip-mev/block-sdk/v2/x/auction/keeper"
feemarketkeeper "github.com/skip-mev/feemarket/x/feemarket/keeper"
marketmapkeeper "github.com/skip-mev/slinky/x/marketmap/keeper"

dynamicfeeskeeper "github.com/neutron-org/neutron/v4/x/dynamicfees/keeper"
dynamicfeeskeeper "github.com/neutron-org/neutron/v5/x/dynamicfees/keeper"

contractmanagerkeeper "github.com/neutron-org/neutron/v4/x/contractmanager/keeper"
cronkeeper "github.com/neutron-org/neutron/v4/x/cron/keeper"
dexkeeper "github.com/neutron-org/neutron/v4/x/dex/keeper"
feeburnerkeeper "github.com/neutron-org/neutron/v4/x/feeburner/keeper"
icqkeeper "github.com/neutron-org/neutron/v4/x/interchainqueries/keeper"
tokenfactorykeeper "github.com/neutron-org/neutron/v4/x/tokenfactory/keeper"
contractmanagerkeeper "github.com/neutron-org/neutron/v5/x/contractmanager/keeper"
cronkeeper "github.com/neutron-org/neutron/v5/x/cron/keeper"
feeburnerkeeper "github.com/neutron-org/neutron/v5/x/feeburner/keeper"
icqkeeper "github.com/neutron-org/neutron/v5/x/interchainqueries/keeper"
tokenfactorykeeper "github.com/neutron-org/neutron/v5/x/tokenfactory/keeper"

paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
transferkeeper "github.com/cosmos/ibc-go/v8/modules/apps/transfer/keeper"
Expand Down Expand Up @@ -66,6 +67,7 @@ type UpgradeKeepers struct {
FeeMarketKeeper *feemarketkeeper.Keeper
DynamicfeesKeeper *dynamicfeeskeeper.Keeper
DexKeeper *dexkeeper.Keeper
IbcRateLimitKeeper *ibcratelimitkeeper.Keeper
// subspaces
GlobalFeeSubspace paramtypes.Subspace
CcvConsumerSubspace paramtypes.Subspace
Expand Down
38 changes: 0 additions & 38 deletions app/upgrades/v4.0.1/constants.go

This file was deleted.

Loading

0 comments on commit dc02518

Please sign in to comment.