Skip to content

Commit

Permalink
Remove entry about storage_take.
Browse files Browse the repository at this point in the history
It's not available on production chains, even though it does exist in the code. For more details, see:
- paritytech/substrate#12781
- use-ink/ink#1522
- use-ink/cargo-contract#846
  • Loading branch information
deuszx authored Jan 7, 2023
1 parent f324fe2 commit 13fdef9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

## Storage

- added `take(key) -> Option<V>` that allows for removing elements from the storage while returning the value. Replaces `get` + `remove` pattern.
- Remove `SpreadAllocate``SpreadLayout` and `PackedLayout` implementations (and derivations).
- Derive `StorageLayout` in`std` feature for types that you want to store in `Mapping`s (see `Bulletin` struct in the Bulletin Board migration). It’s used when generating contract’s metadata.

Expand Down

0 comments on commit 13fdef9

Please sign in to comment.