Open
Description
Describe the bug
The function set_contract_storage()
sets the storage in a contract. There was a missing validation in integration tests that was present in e2e. This validation checked that the size
of the storage set did not exceed 16380 bytes.
pub fn set_contract_storage<K, V>(key: &K, value: &V) -> Option<u32>
Expected behavior
In case this limit is exceeded, a panic is raised.
Metadata
Metadata
Assignees
Labels
No labels