Skip to content

Commit 7666069

Browse files
authored
chore: enable optimistic execution (#1328)
# Related Github tickets - VolumeFi#1162 # Background Enforces optimistic execution across all nodes. PTN tests are looking good, but our mileage may vary depending on cross chain chatter. # Testing completed - [x] test coverage exists or has been added/updated - [x] tested in a private testnet # Breaking changes - [x] I have checked my code for breaking changes - [x] If there are breaking changes, there is a supporting migration.
1 parent 9091ad7 commit 7666069

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/palomad/commands.go

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
"github.com/CosmWasm/wasmd/x/wasm"
1010
wasmcli "github.com/CosmWasm/wasmd/x/wasm/client/cli"
1111
dbm "github.com/cosmos/cosmos-db"
12+
"github.com/cosmos/cosmos-sdk/baseapp"
1213
"github.com/cosmos/cosmos-sdk/client"
1314
"github.com/cosmos/cosmos-sdk/client/debug"
1415
"github.com/cosmos/cosmos-sdk/client/flags"
@@ -80,6 +81,7 @@ func newApp(
8081
appOpts servertypes.AppOptions,
8182
) servertypes.Application {
8283
baseappOptions := server.DefaultBaseappOptions(appOpts)
84+
baseappOptions = append(baseappOptions, baseapp.SetOptimisticExecution())
8385

8486
return app.New(
8587
logger, db, traceStore, true,

0 commit comments

Comments
 (0)