Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

add warp to target block for parachains#12761

Merged
paritytech-processbot[bot] merged 51 commits intoparitytech:masterfrom
samelamin:warp_sync_parachain
Feb 14, 2023
Merged

add warp to target block for parachains#12761
paritytech-processbot[bot] merged 51 commits intoparitytech:masterfrom
samelamin:warp_sync_parachain

Conversation

@samelamin
Copy link
Contributor

@samelamin samelamin commented Nov 22, 2022

This PR is the first part of a 3 part PR to Substrate,Polkadot and Cumulus to address paritytech/cumulus#1619

The goal of the PR is to enable warp sync support for parachains and is done by passing an enum WarpSyncParams that lets ChainSync start the warp sync to a target block

polkadot companion: paritytech/polkadot#6334
cumulus companion: paritytech/cumulus#1909

polkadot address: 13xS6fK6MHjApLnjdX7TJYw1niZmiXasSN91bNtiXQjgEtNx

@samelamin samelamin marked this pull request as draft November 22, 2022 19:44
@samelamin samelamin marked this pull request as ready for review November 23, 2022 09:57
@samelamin samelamin force-pushed the warp_sync_parachain branch 3 times, most recently from d01a812 to 35d282c Compare November 23, 2022 10:23
@samelamin
Copy link
Contributor Author

samelamin commented Nov 23, 2022

I think the failure continuous-integration/gitlab-check-dependent-polkadot is due to the fact that we need to do a PR into both Polkadot and Cumulus to apply the new changes.

How are these interdependencies managed? I am assuming PRs need to go into substrate first before making the changes downstream?

@altonen
Copy link
Contributor

altonen commented Nov 23, 2022

@samelamin
Copy link
Contributor Author

You need to add a polkadot companion: https://github.com/paritytech/substrate/blob/master/docs/CONTRIBUTING.adoc#updating-polkadot-as-well

Awesome, thanks @altonen ill make the changes required. Since I don't have rights to rerun the job ill just push a new commit to start the CI jobs.

@samelamin samelamin marked this pull request as draft November 23, 2022 11:02
@samelamin samelamin marked this pull request as ready for review November 23, 2022 13:33
@samelamin
Copy link
Contributor Author

samelamin commented Nov 23, 2022

Failing builds are meant to be fixed by this pr

paritytech/scripts#488

@samelamin samelamin force-pushed the warp_sync_parachain branch 5 times, most recently from 56937ac to 365149f Compare November 24, 2022 10:56
@samelamin samelamin force-pushed the warp_sync_parachain branch 4 times, most recently from 98aa2cc to e9548f9 Compare November 25, 2022 15:44
@samelamin samelamin force-pushed the warp_sync_parachain branch 3 times, most recently from 1b74892 to 0c67920 Compare November 28, 2022 14:58
@samelamin samelamin requested a review from bkchr December 5, 2022 13:17
@samelamin
Copy link
Contributor Author

Hi Everyone, let me know if there are any more changes that are required on this pr

@bkchr
Copy link
Member

bkchr commented Feb 14, 2023

bot merge

@paritytech-processbot
Copy link

Error: "Check reviews" status is not passing for paritytech/polkadot#6334

@bkchr
Copy link
Member

bkchr commented Feb 14, 2023

bot merge

@paritytech-processbot
Copy link

Error: "Check reviews" status is not passing for paritytech/cumulus#1909

@bkchr
Copy link
Member

bkchr commented Feb 14, 2023

bot merge

@bkchr
Copy link
Member

bkchr commented Feb 14, 2023

/tip big

@substrate-tip-bot
Copy link

@bkchr ERROR: Error: Invalid tip size. Please specify one of small, medium, large.
Error: Invalid tip size. Please specify one of small, medium, large.
at getTipSize (/usr/src/app/dist/tip.js:1:559)
at onIssueComment (/usr/src/app/dist/bot.js:1:1171)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)

@bkchr
Copy link
Member

bkchr commented Feb 14, 2023

/tip large

@substrate-tip-bot
Copy link

@bkchr A large tip was successfully submitted for samelamin (13xS6fK6MHjApLnjdX7TJYw1niZmiXasSN91bNtiXQjgEtNx on polkadot).

https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.polkadot.io#/treasury/tips tip

@Polkadot-Forum
Copy link

This pull request has been mentioned on Polkadot Forum. There might be relevant details there:

https://forum.polkadot.network/t/polkadot-release-analysis-v0-9-39/2277/1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A0-please_review Pull request needs code review. B1-note_worthy Changes should be noted in the release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit T0-node This PR/Issue is related to the topic “node”.

Projects

None yet

Development

Successfully merging this pull request may close these issues.