Skip to content

Commit

Permalink
use wasmapp.AllCapabilities() (#926)
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups authored Dec 22, 2023
1 parent c320582 commit 65fe907
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/keepers/keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import (
"fmt"
"math"
"path/filepath"
"strings"

wasmapp "github.com/CosmWasm/wasmd/app"
"github.com/CosmWasm/wasmd/x/wasm"
wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
Expand Down Expand Up @@ -108,7 +110,7 @@ import (
)

var (
wasmCapabilities = "iterator,staking,stargate,token_factory,cosmwasm_1_1,cosmwasm_1_2,cosmwasm_1_3,cosmwasm_1_4,cosmwasm_1_5"
wasmCapabilities = strings.Join(append(wasmapp.AllCapabilities(), "token_factory"), ",")

tokenFactoryCapabilities = []string{
tokenfactorytypes.EnableBurnFrom,
Expand Down

0 comments on commit 65fe907

Please sign in to comment.