-
Notifications
You must be signed in to change notification settings - Fork 429
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1361 from CosmWasm/1341_cap
Extract configured capabilities
- Loading branch information
Showing
2 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
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", | ||
} | ||
} |