Skip to content
Commit c8fe8b53 authored by Sergey Pepyakin's avatar Sergey Pepyakin Committed by GitHub
Browse files

pallet-contracts: State rent fixes (#6147)



* Don't store the storage size offset in the contract itself.

* Clean the AccountDb code a bit

* Use `storage_size: 0` when creating AliveContractInfo

* Count empty storage items.

* Update frame/contracts/src/account_db.rs

Co-authored-by: default avatarNikolay Volf <[email protected]>

* Use more clear wording.

Co-authored-by: default avatarAlexander Theißen <[email protected]>

* Change the order of decrement and increment for storage size

Co-authored-by: default avatarNikolay Volf <[email protected]>
Co-authored-by: default avatarAlexander Theißen <[email protected]>
parent c672cce4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment