ChainSafe / ChainSafe/gossamer
Replace DefaultBlockState with new ClientAdapter implementation of BlockState
Open
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
Assessment
This issue has not been assessed yet.