ChainSafe / ChainSafe/gossamer
feat(parachains): Design `chain-api`, `chain-selection`, `runtime-api` types
Open
- Dominant language
- Go
- Stars
- 454
- Forks
- 144
- PR merge metrics
- No merged PRs in 30d
Description
## Description
Currently, subsystems that needs to query the BlockState or execute some runtime call will do that through importing the `BlockState` as a direct dependecy under the subsystem's state.
Sometimes we need to perform some additional logic to fetch ancestors or use some caching layer to avoid perform the same runtime call, so for that we need to have some specialized types that will be responsible to implement these specific methods and also having a caching layer in the case of the `runtime-api`.
Contributor guide
Assessment
This issue has not been assessed yet.