Skip to content

Commit 87bd5bc

Browse files
alpepinosu
authored andcommitted
Alex/upgrade sdk 0.52 updates (#2035)
* Make format only * WIP * x * x
1 parent dc43a92 commit 87bd5bc

Some content is hidden

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

86 files changed

+2441
-1755
lines changed

app/ante.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import (
1212

1313
sdk "github.com/cosmos/cosmos-sdk/types"
1414
"github.com/cosmos/cosmos-sdk/x/auth/ante"
15+
"github.com/cosmos/cosmos-sdk/x/auth/ante/unorderedtx"
1516

1617
wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
1718
wasmTypes "github.com/CosmWasm/wasmd/x/wasm/types"
@@ -60,6 +61,7 @@ func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) {
6061
ante.NewExtensionOptionsDecorator(options.ExtensionOptionChecker),
6162
ante.NewValidateBasicDecorator(options.Environment),
6263
ante.NewTxTimeoutHeightDecorator(options.Environment),
64+
ante.NewUnorderedTxDecorator(unorderedtx.DefaultMaxTimeoutDuration, options.UnorderedTxManager, options.Environment, ante.DefaultSha256Cost),
6365
ante.NewValidateMemoDecorator(options.AccountKeeper),
6466
ante.NewConsumeGasForTxSizeDecorator(options.AccountKeeper),
6567
ante.NewDeductFeeDecorator(options.AccountKeeper, options.BankKeeper, options.FeegrantKeeper, options.TxFeeChecker),

0 commit comments

Comments
 (0)