Skip to content
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

feat(protocol): extend SignalService interface #15969

Merged
merged 4 commits into from
Feb 21, 2024
Merged

Conversation

adaki2004
Copy link
Contributor

@adaki2004 adaki2004 commented Feb 21, 2024

@KorbinianK @cyberhorsey
You can query if we need to have ful proof or not if calling:

getSyncedChainData(cahinId, LibSignals.SIGNAL_ROOT, blockId)

If you supply 0 for blockId, it will return you the topBlockId where the LibSignals.SIGNAL_ROOT was cached and you dont need to have full proof (for that block height!).

If you supply non-0 for blockId, it will specifically search for that block id and revert if not cached.

@dionysuzx
Copy link
Collaborator

🚨👮‍♂️
This is a backwards-compatible feature / minor bump, so the title can say "feat(protocol): *"

@dantaik dantaik changed the title chore(protocol): extend SignalService interface feat(protocol): extend SignalService interface Feb 21, 2024
adaki2004 and others added 2 commits February 21, 2024 09:38
Co-authored-by: Daniel Wang <99078276+dantaik@users.noreply.github.com>
@dantaik dantaik enabled auto-merge February 21, 2024 04:46
@dantaik dantaik added this pull request to the merge queue Feb 21, 2024
Merged via the queue into main with commit d90e90a Feb 21, 2024
6 checks passed
@dantaik dantaik deleted the helper_to_signal_service branch February 21, 2024 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants