Files
pezkuwi-subxt/substrate/primitives/externalities
Bastian Köcher dbf4558633 Remove runtime registered extensions after execution (#7236)
* Remove runtime registered extensions after execution

This prevents a bug when an extension was registered in native, but the
native execution aborted without removing the extension again. Now, when
executing the wasm code the extension is still registered and it fails
of being registered. So, the wasm execution fails as well. This can
happen for example for the `VerificationExt`.

* Make it better
2020-10-01 09:12:05 +00:00
..
2020-08-20 17:04:42 +02:00

Substrate externalities abstraction

The externalities mainly provide access to storage and to registered extensions. Extensions are for example the keystore or the offchain externalities. These externalities are used to access the node from the runtime via the runtime interfaces.

This crate exposes the main [Externalities] trait.

License: Apache-2.0