You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The biggest change is that the concept of a tombstone is gone.
The TombstoneDeposit is renamed to ContractDeposit and is a deposit a deployer needs to deposit into the new contract on top of the ExistentialDeposit (no change to the previous behavior).
I like the idea of the caller paying for contract storage (with a refund if their call decreases storage usage).
One of the cons is that a contract can't use other financing options. But we could possibly allow a contract to refund or subsidize the transaction cost. The caller would still need to have enough POLYX to cover the transaction cost, since the contract has to run before it can decide if it is willing to pay for the cost.
Dumping some discussion notes for new contracts pallet here.
pallet_contracts
paritytech/substrate#9807deposit = storage_used_before - storage_used_after
The text was updated successfully, but these errors were encountered: