Skip to content
  • Bastian Köcher's avatar
    Do not depend on native runtimes for `RuntimeApi` (#7451) · e53d15aa
    Bastian Köcher authored
    * 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 🙈
    
    ---------
    
    Co-authored-by: command-bot <>
    e53d15aa