Skip to content
Commit c470e9d1 authored by Alexander Theißen's avatar Alexander Theißen Committed by GitHub
Browse files

contracts: Allow `ChainExtension::call()` to access `&mut self` (#11874)



* Give chain extensions the ability to store some temporary values

* Update frame/contracts/src/wasm/runtime.rs

Co-authored-by: default avatarHernando Castano <[email protected]>

* Rename func_id -> id

* Replace `id` param by two functions on `env`

Co-authored-by: default avatarHernando Castano <[email protected]>
parent 62614045
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment