This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
pallet-contracts: migrate to nested storage transaction mechanism #6382
Merged
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
13839ce
Add a simple direct storage access module
pepyakin 34e363f
WIP
pepyakin f528e8d
Completely migrate to the transactional system.
pepyakin 3b2d311
Format
pepyakin f83e656
Fix wasm compilation
pepyakin 4d7b8fb
Get rid of account_db module
pepyakin 4d59704
Make deposit event eager
pepyakin 4c9f607
Make restore_to eager
pepyakin 86c8b32
It almost compiles.
pepyakin 125ba66
Make it compile.
pepyakin 5b2c571
Make the tests compile
pepyakin 3a6edb4
Get rid of account_db
pepyakin 57aa37c
Drop the result.
pepyakin 73dce0c
Backport the book keeping.
pepyakin 571ea1f
Fix all remaining tests.
pepyakin f68bff9
Make it compile for std
pepyakin d3d2351
Remove a stale TODO marker
pepyakin a2ff223
Remove another stale TODO
pepyakin 0b4b7ac
Add proof for `terminate`
pepyakin 9755c6d
Remove a stale comment.
pepyakin 164a767
Make restoration diverging.
pepyakin b21f66f
Remove redudnant trait: `ComputeDispatchFee`
pepyakin 04ca866
Update frame/contracts/src/exec.rs
pepyakin cefce04
Introduce proper errors into the storage module.
pepyakin d767cb9
Adds comments for contract storage module.
pepyakin 4166768
Inline `ExecutionContext::terminate`.
pepyakin e54d6a9
Restore_to should not let sacrifice itself if the contract present on…
pepyakin 92b9706
Inline `transfer` function
pepyakin d34fad6
Update doc - add "if succeeded"
pepyakin 4e58ce5
Adapt to TransactionOutcome changes
athei f9e4674
Updates the docs for `ext_restore_to`
pepyakin 8893488
Add a proper assert.
pepyakin 68a56dc
Update frame/contracts/src/wasm/runtime.rs
pepyakin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev
Previous commit
Update frame/contracts/src/wasm/runtime.rs
Co-authored-by: Alexander Theißen <[email protected]>
- Loading branch information
There are no files selected for viewing
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.