Skip to content

Commit a5d031b

Browse files
committed
test prdoc
1 parent f66bac8 commit a5d031b

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

prdoc/pr_5105.prdoc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
2+
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
3+
4+
title: "[pallet_contracts] Add support for transient storage in contracts host functions"
5+
6+
doc:
7+
- audience: Runtime User
8+
description: |
9+
This PR implements transient storage, which behaves identically to regular storage
10+
but is kept only in memory and discarded after every transaction.
11+
This functionality is similar to the `TSTORE` and `TLOAD` operations used in Ethereum.
12+
The following new host functions have been introduced: `get_transient_storage`,
13+
`set_transient_storage`, `take_transient_storage`, `clear_transient_storage` and
14+
`contains_transient_storage`.
15+
These functions are declared as unstable and thus are not activated.
16+
17+
crates:
18+
- name: pallet-contracts
19+
bump: major

0 commit comments

Comments
 (0)