-
Notifications
You must be signed in to change notification settings - Fork 707
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f66bac8
commit a5d031b
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0 | ||
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json | ||
|
||
title: "[pallet_contracts] Add support for transient storage in contracts host functions" | ||
|
||
doc: | ||
- audience: Runtime User | ||
description: | | ||
This PR implements transient storage, which behaves identically to regular storage | ||
but is kept only in memory and discarded after every transaction. | ||
This functionality is similar to the `TSTORE` and `TLOAD` operations used in Ethereum. | ||
The following new host functions have been introduced: `get_transient_storage`, | ||
`set_transient_storage`, `take_transient_storage`, `clear_transient_storage` and | ||
`contains_transient_storage`. | ||
These functions are declared as unstable and thus are not activated. | ||
|
||
crates: | ||
- name: pallet-contracts | ||
bump: major |