Closed webmaster128 closed 9 months ago
In https://github.com/CosmWasm/wasmvm/blob/a2cb78bc33aa73cf7c9d11bdf6f57303812570b9/lib.go#L31 we should accept more structured data and internalize the string representation of supported capabilities.
Ideally we can use a set but as far as I can tell there as no sets in Go. We can also use a []string.
[]string
In https://github.com/CosmWasm/wasmvm/blob/a2cb78bc33aa73cf7c9d11bdf6f57303812570b9/lib.go#L31 we should accept more structured data and internalize the string representation of supported capabilities.
Ideally we can use a set but as far as I can tell there as no sets in Go. We can also use a
[]string
.