Skip to content
Commit 8e49a8a6 authored by Alexander Theißen's avatar Alexander Theißen Committed by GitHub
Browse files

contracts: Charge rent for code storage (#7935)



* contracts: Implement refcounting for wasm code

* contracts: Charge rent for code storage

* contracts: Fix dispatchables erroneously refunding base costs

* Fixed typos in comments.

Co-authored-by: default avatarAndrew Jones <[email protected]>

* Remove awkward empty line

* Fix more typos in docs

* Fix typos in docs

Co-authored-by: default avatarAndrew Jones <[email protected]>

* Split up complicated expression

Co-authored-by: default avatarAndrew Jones <[email protected]>

* review: Remove unused return value

* Fix typos

Co-authored-by: default avatarAndrew Jones <[email protected]>

* review: Fix refcount being reset to one on re-instrumentation

* Document evictable_code parameter

* Make Executable::execute consume and store itself

* Added comments about stale values

* Disregard struct size in occupied_storage()

Co-authored-by: default avatarAndrew Jones <[email protected]>
parent 5569313b
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