pub fn set_contract_storage<V>(key: &Key, value: &V) where
    V: Encode
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.