[contracts] Forbid calling back to contracts after switching to runtime (#13443)
* save: compiles and tests pass * save: added global * done + test * cleanup * changelog update * cleanup * address feedback, step 1 * address feedback, step 2 * address feedback, step 3 * returned updated gas_estimation_call_runtime test * clippy fix * address feedback, step 4 * address feedback, step 5 * move data from context to inputs * docs fix * Apply suggestions from code review Co-authored-by:Alexander Theißen <alex.theissen@me.com> * address feedback, step 6 --------- Co-authored-by:
Alexander Theißen <alex.theissen@me.com>
Showing
- substrate/Cargo.lock 1 addition, 0 deletionssubstrate/Cargo.lock
- substrate/frame/contracts/CHANGELOG.md 3 additions, 0 deletionssubstrate/frame/contracts/CHANGELOG.md
- substrate/frame/contracts/Cargo.toml 2 additions, 0 deletionssubstrate/frame/contracts/Cargo.toml
- substrate/frame/contracts/src/lib.rs 214 additions, 145 deletionssubstrate/frame/contracts/src/lib.rs
- substrate/frame/contracts/src/tests.rs 67 additions, 5 deletionssubstrate/frame/contracts/src/tests.rs
Please register or sign in to comment