Skip to content
Snippets Groups Projects
Commit e53d15aa authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Do not depend on native runtimes for `RuntimeApi` (#7451)

* Implement runtime apis for fake runtime

These runtime api implementations are only used to make the compiler
think that we have implemented all required runtime apis. They will not
be called as we switch the executor to `WasmExecutor`. In the near
future we will not require these fake implementations anymore after
Substrate has shifted away from this compile time requirement.

This brings us the advantage that the `polkadot-service` doesn't need to
depend on the runtimes for getting the `RuntimeApi` type.

It also removes around 1min of build time on my machine ;)

* Fix warning

* FMT

* ".git/.scripts/commands/fmt/fmt.sh"

* Use more descriptive id

* Fix warnings

* Adapt path

* Fix :see_no_evil:

---------

Co-authored-by: command-bot <>
parent 77ef85b0
No related merge requests found
Showing
with 1155 additions and 1507 deletions
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