Skip to content

fix(DumpHistoryRequest): allow fetching from genesis#40

Merged
Mercurial merged 1 commit intoutxorpc:mainfrom
SebastienGllmt:fetch-from-genesis
Mar 27, 2025
Merged

fix(DumpHistoryRequest): allow fetching from genesis#40
Mercurial merged 1 commit intoutxorpc:mainfrom
SebastienGllmt:fetch-from-genesis

Conversation

@SebastienGllmt
Copy link
Copy Markdown
Contributor

@SebastienGllmt SebastienGllmt commented Mar 27, 2025

For utxorpc, startToken is optional and, if omitted, will fetch history starting from the genesis block

However, the typescript SDK accidentally made this a required field

You can test this yourself if you want to verify the behavior when startToken is omitted with the following query

grpcurl -plaintext -d '{
    "maxItems": 3
}' localhost:50051 utxorpc.v1alpha.sync.SyncService.DumpHistory

@Mercurial Mercurial merged commit 97e5cde into utxorpc:main Mar 27, 2025
@SebastienGllmt SebastienGllmt deleted the fetch-from-genesis branch March 27, 2025 14:15
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.

2 participants