pub fn set_contract_storage<V>(key: &Key, value: &V) where
    V: Encode
👎 Deprecated since 3.3.0:

set_contract_storage_return_size() provides more information, and will be made the standard in the future.

Expand description

Writes the value to the contract storage under the given key.

Panics

  • If the encode length of value exceeds the configured maximum value length of a storage entry.