Skip to content

Honour --rc-sync-url instead of ignoring it - #135

Closed
mordamax wants to merge 1 commit into
mainfrom
fix/sync-url
Closed

Honour --rc-sync-url instead of ignoring it#135
mordamax wants to merge 1 commit into
mainfrom
fix/sync-url

Conversation

@mordamax

Copy link
Copy Markdown
Contributor

Relaychain stored maybe_sync_url but nothing read it: both sync_endpoint() and rpc_endpoint() returned a hardcoded public URL, so --rc-sync-url and the config's sync_url did nothing.

Both now use the supplied endpoint when there is one. They share it because the reason to pass the flag — the public endpoint is rate limited, down, or unreachable from where the bite runs — applies equally to the parachain sync and to the reads the bite does against the source.

Closes #134

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.

'--rc-sync-url' is stored but never used

1 participant