Files
pezkuwi-subxt/substrate/primitives
Bastian Köcher d489bd70b5 Do not call initialize_block before any runtime api (#8953)
* Do not call `initialize_block` before any runtime api

Before this change we always called `initialize_block` before calling
into the runtime. There was already support with `skip_initialize` to skip
the initialization. Almost no runtime_api requires that
`initialize_block` is called before. Actually this only leads to higher
execution times most of the time, because all runtime modules are
initialized and this is especially expensive when the block contained a
runtime upgrade.

TLDR: Do not call `initialize_block` before calling a runtime api.

* Change `validate_transaction` interface

* Fix rpc test

* Fixes and comments

* Some docs
2021-07-01 15:50:42 +00:00
..
2021-02-10 19:23:18 +01:00
2021-06-22 09:32:43 +00:00
2021-02-10 19:23:18 +01:00
2021-06-23 13:33:48 +01:00
2021-02-10 19:23:18 +01:00
2021-02-10 19:23:18 +01:00
2021-02-10 19:23:18 +01:00
2021-05-03 07:53:09 +00:00
2021-06-23 13:33:48 +01:00
2021-02-10 19:23:18 +01:00
2021-06-24 11:53:49 +01:00