ChainSafe / ChainSafe/gossamer

feat(parachains): Design `chain-api`, `chain-selection`, `runtime-api` types

Open
#4,672 0 comments 0 reactions 1 assignee Claimed by @EclesioMeloJunior View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.