ChainSafe / ChainSafe/gossamer

dot/rpc: update `system_syncState` to get `HighestBlock`, `StartingBlock` from dot/sync

Open
#1,857 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
454
Forks
144
PR merge metrics
No merged PRs in 30d

Description

## Task summary

- currently the functions
```
HighestBlock() int64
StartingBlock() int64
```
in the `NetworkAPI` are unimplemented due to the sync logic being moved to `dot/sync`
- need to update the rpc methods that use these functions to get the info from `dot/sync` instead
- ie. need to create a `SyncAPI` for `dot/state`

\

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.