Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Make use of state cache when building blocks for a parachain #9770

@bkchr

Description

@bkchr

When we are building blocks for a parachain, we also need to collect a state proof. This means that we will trigger a different code path that currently doesn't support the state cache when we build a block for a parachain.

This code path is taken when building a parachain block:
https://github.com/paritytech/substrate/blob/master/client/service/src/client/call_executor.rs#L234-L260

And this particular call: https://github.com/paritytech/substrate/blob/master/client/service/src/client/call_executor.rs#L234 (as_trie_backend) prevents that we use the state cache.

Metadata

Metadata

Assignees

Labels

I9-optimisationAn enhancement to provide better overall performance in terms of time-to-completion for a task.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions