Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tombstones no longer exist; now ContractDeposit #3381

Closed
laboon opened this issue May 30, 2022 · 0 comments · Fixed by #3386
Closed

Tombstones no longer exist; now ContractDeposit #3381

laboon opened this issue May 30, 2022 · 0 comments · Fixed by #3386
Assignees

Comments

@laboon
Copy link
Contributor

laboon commented May 30, 2022

They are mentioned here: https://wiki.polkadot.network/docs/build-smart-contracts#contracts-pallet

However, as of Sep 2021 - paritytech/substrate#9669 - these are renamed ContractDeposit.

The PR mainly deletes code and adjusts tests/benchmarks. 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). Please note that seal_terminate can still be used to remove a contract and is the only way to remove a contract and regain the deposit.

@DrW3RK DrW3RK linked a pull request Jun 1, 2022 that will close this issue
@DrW3RK DrW3RK self-assigned this Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants