Skip to content

Commit 51b8930

Browse files
authored
Merge pull request #873 from neutron-org/test/move-to-sovereign
Feat: move to sovereign
2 parents c710233 + 71bc8a9 commit 51b8930

File tree

667 files changed

+44139
-21785
lines changed

Some content is hidden

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

667 files changed

+44139
-21785
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414
jobs:
1515
golangci:
1616
name: lint
17-
runs-on: ubuntu-latest
17+
runs-on: ubicloud-standard-2
1818
steps:
1919
- uses: actions/setup-go@v4
2020
with:

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
# This job only runs for pull request comments
1414
name: PR comment
1515
if: ${{ github.event.issue.pull_request }}
16-
runs-on: ubuntu-latest
16+
runs-on: ubicloud-standard-2
1717
steps:
1818
- name: Send Notification
1919
uses: appleboy/telegram-action@master
@@ -26,7 +26,7 @@ jobs:
2626
pull_requests_and_review:
2727
name: Pull request action or review
2828
if: ${{ !github.event.issue.pull_request }}
29-
runs-on: ubuntu-latest
29+
runs-on: ubicloud-standard-2
3030
steps:
3131
- name: Send Notification
3232
uses: appleboy/telegram-action@master

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [push, pull_request]
55
jobs:
66
tests:
77
name: Test
8-
runs-on: ubuntu-latest
8+
runs-on: ubicloud-standard-2
99
steps:
1010
- name: Set up Go 1.23
1111
uses: actions/setup-go@v4

.github/workflows/test_trigger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
jobs:
1515
dispatch:
1616
name: Dispatch Tests Workflow
17-
runs-on: ubuntu-latest
17+
runs-on: ubicloud-standard-2
1818
steps:
1919
- name: Evaluate PR Merged Status and Labels
2020
run: |

app/ante_handler.go

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,10 @@ import (
1212
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
1313
ibcante "github.com/cosmos/ibc-go/v8/modules/core/ante"
1414
ibckeeper "github.com/cosmos/ibc-go/v8/modules/core/keeper"
15-
consumerante "github.com/cosmos/interchain-security/v5/app/consumer/ante"
16-
ibcconsumerkeeper "github.com/cosmos/interchain-security/v5/x/ccv/consumer/keeper"
1715
feemarketante "github.com/skip-mev/feemarket/x/feemarket/ante"
1816

19-
globalfeeante "github.com/neutron-org/neutron/v5/x/globalfee/ante"
20-
globalfeekeeper "github.com/neutron-org/neutron/v5/x/globalfee/keeper"
17+
globalfeeante "github.com/neutron-org/neutron/v6/x/globalfee/ante"
18+
globalfeekeeper "github.com/neutron-org/neutron/v6/x/globalfee/keeper"
2119
)
2220

2321
// HandlerOptions extend the SDK's AnteHandler options by requiring the IBC
@@ -28,14 +26,13 @@ type HandlerOptions struct {
2826
BankKeeper bankkeeper.Keeper
2927
AccountKeeper feemarketante.AccountKeeper
3028
IBCKeeper *ibckeeper.Keeper
31-
ConsumerKeeper ibcconsumerkeeper.Keeper
3229
GlobalFeeKeeper globalfeekeeper.Keeper
3330
WasmConfig *wasmTypes.WasmConfig
3431
TXCounterStoreService corestoretypes.KVStoreService
3532
FeeMarketKeeper feemarketante.FeeMarketKeeper
3633
}
3734

38-
func NewAnteHandler(options HandlerOptions, logger log.Logger) (sdk.AnteHandler, error) {
35+
func NewAnteHandler(options HandlerOptions, _ log.Logger) (sdk.AnteHandler, error) {
3936
if options.AccountKeeper == nil {
4037
return nil, errors.Wrap(sdkerrors.ErrLogic, "account keeper is required for AnteHandler")
4138
}
@@ -66,7 +63,6 @@ func NewAnteHandler(options HandlerOptions, logger log.Logger) (sdk.AnteHandler,
6663
wasmkeeper.NewLimitSimulationGasDecorator(options.WasmConfig.SimulationGasLimit), // after setup context to enforce limits early
6764
wasmkeeper.NewCountTXDecorator(options.TXCounterStoreService),
6865
ante.NewExtensionOptionsDecorator(options.ExtensionOptionChecker),
69-
consumerante.NewDisabledModulesDecorator("/cosmos.evidence", "/cosmos.slashing"),
7066
ante.NewValidateBasicDecorator(),
7167
ante.NewTxTimeoutHeightDecorator(),
7268
ante.NewValidateMemoDecorator(options.AccountKeeper),
@@ -87,14 +83,6 @@ func NewAnteHandler(options HandlerOptions, logger log.Logger) (sdk.AnteHandler,
8783
ibcante.NewRedundantRelayDecorator(options.IBCKeeper),
8884
}
8985

90-
// Don't delete it even if IDE tells you so.
91-
// This constant depends on build tag.
92-
if !SkipCcvMsgFilter {
93-
anteDecorators = append(anteDecorators, consumerante.NewMsgFilterDecorator(options.ConsumerKeeper))
94-
} else {
95-
logger.Error("WARNING: BUILT WITH skip_ccv_msg_filter. THIS IS NOT A PRODUCTION BUILD")
96-
}
97-
9886
return sdk.ChainAnteDecorators(anteDecorators...), nil
9987
}
10088

0 commit comments

Comments
 (0)