mirror of https://github.com/certusone/wasmd.git
17 lines
444 B
Go
17 lines
444 B
Go
package app
|
|
|
|
// 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",
|
|
}
|
|
}
|