Skip to content

Commit

Permalink
test prdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Morganamilo committed Jul 22, 2024
1 parent f66bac8 commit a5d031b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions prdoc/pr_5105.prdoc
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

0 comments on commit a5d031b

Please sign in to comment.