ChainSafe / ChainSafe/gossamer

Replace DefaultBlockState with new ClientAdapter implementation of BlockState

Open
#4,746 0 comments 0 reactions 1 assignee Claimed by @dimartiro View on GitHub
T-implementation
Dominant language
Go
Stars
454
Forks
144
PR merge metrics
No merged PRs in 30d

Description

# Summary

Replace our current `BlockState` implementation (`DefaultBlockState`) to use the new one using the translation shim type `ClientAdapter`

- [ ] Replace read only usages of `DefaultBlockState` to use `ClientAdapter` and make use of our new trieDB
- [ ] Replace `AddBlock` usages to use the new `AddBlock` from `ClientAdapter`
- [ ] Benchmark the memory usage and startup time
- [ ] Fix or add new tests
- [ ] Regression tests

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.