cosmwasm
cosmwasm copied to clipboard
Improve gas metering for metric the memory usage
Close: https://github.com/CosmWasm/cosmwasm/issues/1072#issuecomment-942030575
Allowing the bulk-memory feature makes it vulnerable to attacks that maliciously allocate large amounts of memory. To solve this, we need to support gas metering to determine the amount of memory.