Add Limit to Tranasctional Layers (#10808)
* introduce hard limit to transactional * add single layer transactional * remove single_transactional * Update mod.rs * add tests * maybe fix contracts cc @athei * fmt * fix contract logic * Update frame/contracts/src/exec.rs Co-authored-by:Alexander Theißen <alex.theissen@me.com> * Update exec.rs * add unchecked and custom errors * Update lib.rs * Apply suggestions from code review Co-authored-by:
Alexander Theißen <alex.theissen@me.com> * Replace storage access by atomics Co-authored-by:
Alexander Theißen <alex.theissen@me.com>
Showing
- substrate/frame/contracts/src/exec.rs 21 additions, 8 deletionssubstrate/frame/contracts/src/exec.rs
- substrate/frame/support/procedural/src/transactional.rs 3 additions, 1 deletionsubstrate/frame/support/procedural/src/transactional.rs
- substrate/frame/support/src/storage/mod.rs 152 additions, 56 deletionssubstrate/frame/support/src/storage/mod.rs
- substrate/frame/support/test/tests/storage_transaction.rs 64 additions, 44 deletionssubstrate/frame/support/test/tests/storage_transaction.rs
- substrate/primitives/runtime/src/lib.rs 33 additions, 0 deletionssubstrate/primitives/runtime/src/lib.rs
Please register or sign in to comment