-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add RPC method moon_getEthSyncBlockRange #2922
Conversation
WASM runtime size check:Compared to target branchMoonbase runtime: 2188 KB (no changes) ✅ Moonbeam runtime: 2120 KB (no changes) ✅ Moonriver runtime: 2132 KB (no changes) ✅ Compared to latest release (runtime-3102)Moonbase runtime: 2188 KB (+248 KB compared to latest release) Moonbeam runtime: 2120 KB (+220 KB compared to latest release) Moonriver runtime: 2132 KB (+232 KB compared to latest release) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@librelois the new frontier pin seems to be causing the rust tests to fail. |
93de9e5
a3aefc5
Coverage Report@@ Coverage Diff @@
## master elois-sync-sql +/- ##
==================================================
+ Coverage 80.92% 80.93% +0.01%
Files 286 286
+ Lines 81932 81965 +33
==================================================
+ Hits 66303 66331 +28
+ Misses 15629 15634 +5
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What does it do?
Add an RPC method that return the range of blocks that are fully indexed in frontier's backend.
Since the frontier backend sync backward, it's useless to return only the latest sync block, we should return the first one (the one closest to genesis) as well.
What important points reviewers should know?
Is there something left for follow-up PRs?
What alternative implementations were considered?
Are there relevant PRs or issues in other repositories (Substrate, Polkadot, Frontier, Cumulus)?
What value does it bring to the blockchain users?