diff --git a/app/app.go b/app/app.go index dae98ab6..da877fb6 100644 --- a/app/app.go +++ b/app/app.go @@ -606,7 +606,7 @@ func New( app.GRPCQueryRouter(), wasmDir, wasmConfig, - axonewasm.AllCapabilities(), + wasmkeeper.BuiltInCapabilities(), authtypes.NewModuleAddress(govtypes.ModuleName).String(), wasmOpts..., ) diff --git a/app/wasm/capabilities.go b/app/wasm/capabilities.go deleted file mode 100644 index 126c5af9..00000000 --- a/app/wasm/capabilities.go +++ /dev/null @@ -1,17 +0,0 @@ -package wasm - -// AllCapabilities returns all capabilities available with the current wasmvm -// See https://github.com/CosmWasm/cosmwasm/blob/main/docs/CAPABILITIES-BUILT-IN.md -// This functionality is going to be moved upstream: https://github.com/CosmWasm/wasmvm/issues/425 -func AllCapabilities() []string { - return []string{ - "iterator", - "staking", - "stargate", - "cosmwasm_1_1", - "cosmwasm_1_2", - "cosmwasm_1_3", - "cosmwasm_1_4", - "cosmwasm_2_0", - } -}