Make CostPerByte for new bytecode storage configurable
Open
- Dominant language
- Go
- Stars
- 206
- Forks
- 140
- Avg merge
- 2h 44m
- Merged PRs (30d)
- 1
Description
this is hardcoded: https://github.com/CosmWasm/wasmvm/blob/918cd59bbfdd55801d62c1a1cbefb5d5e6699b68/lib_libwasmvm.go#L820
and as far as i can tell, this is never read (happy to be proven wrong though): https://github.com/CosmWasm/wasmd/blob/1d428c43e7ac1086d9fe97c59131dd07eb19ecf2/x/wasm/types/gas_register.go#L110
this should be a configurable parameter for chains that want to prevent against spam code uploads.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.