Skip to content
Snippets Groups Projects
Unverified Commit 4c28354b authored by Alexander Theißen's avatar Alexander Theißen Committed by GitHub
Browse files

revive: Include immutable storage deposit into the contracts `storage_base_deposit` (#7230)

This PR is centered around a main fix regarding the base deposit and a
bunch of drive by or related fixtures that make sense to resolve in one
go. It could be broken down more but I am constantly rebasing this PR
and would appreciate getting those fixes in as-one.

**This adds a multi block migration to Westend AssetHub that wipes the
pallet state clean. This is necessary because of the changes to the
`ContractInfo` storage item. It will not delete the child storage
though. This will leave a tiny bit of garbage behind but won't cause any
problems. They will just be orphaned.**

## Record the deposit for immutable data into the `storage_base_deposit`

The `storage_base_deposit` are all the deposit a contract has to pay for
existing. It included the deposit for its own metadata and a deposit
proportional (< 1.0x) to the size of its code. However, the immutable
code size was not recorded there. This would lead to the ...
parent a8834759
No related merge requests found
Pipeline #514277 waiting for manual action with stages
in 29 minutes and 1 second
Showing
with 1214 additions and 646 deletions
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