Skip to content

Aura: Ensure we are building on each relay chain fork#5352

Merged
bkchr merged 6 commits intomasterfrom
bkchr-build-on-forks
Aug 15, 2024
Merged

Aura: Ensure we are building on each relay chain fork#5352
bkchr merged 6 commits intomasterfrom
bkchr-build-on-forks

Conversation

@bkchr
Copy link
Copy Markdown
Member

@bkchr bkchr commented Aug 13, 2024

We only want to build one block per slot for Aura on parachains. However, we still need to build on each relay chain fork, which is using the same slot.

Closes: #5349

We only want to build one block per slot for Aura on parachains. However, we still need to build on each relay chain fork, which is using the same slot.
@bkchr bkchr added the T0-node This PR/Issue is related to the topic “node”. label Aug 13, 2024
@bkchr bkchr requested a review from a team August 13, 2024 22:12
@burdges
Copy link
Copy Markdown
Contributor

burdges commented Aug 14, 2024

This seems fine imho. There is techncially a DoS vector here of course, but mostly we design messaging and bridges to prefent exploiting that sort of thing.

bkchr and others added 3 commits August 14, 2024 22:23
@bkchr bkchr enabled auto-merge August 15, 2024 09:56
@bkchr bkchr added this pull request to the merge queue Aug 15, 2024
Merged via the queue into master with commit 63bf73d Aug 15, 2024
@bkchr bkchr deleted the bkchr-build-on-forks branch August 15, 2024 11:43
ordian added a commit that referenced this pull request Aug 16, 2024
* master:
  Remove redundant minimal template workspace (#5330)
  approval-distribution: Fix handling of conclude (#5375)
  More logs in `is_potential_spam` from `dispute-coordinator` (#5252)
  Fix zombienet bridges test (#5373)
  Update Readme of the `polkadot` crate (#5326)
  allow for `u8` to be used as hold/freeze reason (#5348)
  Moving cargo check for runtimes to GHA (#5340)
  Update links in the documentation (#5175)
  fix visibility for `pallet_nfts` types used as call arguments (#3634)
  Correct some typos in crates' descriptions (#5262)
  Aura: Ensure we are building on each relay chain fork (#5352)
  Update Identity pallet README.md (#5183)
  Bump trie-db from 0.29.0 to 0.29.1 (#5231)
  [Coretime] Always include UnpaidExecution, not just when revenue is > 0 (#5369)
  [Pools] fix derivation of pool account (#4999)
ordian added a commit that referenced this pull request Aug 16, 2024
* master:
  Remove redundant minimal template workspace (#5330)
  approval-distribution: Fix handling of conclude (#5375)
  More logs in `is_potential_spam` from `dispute-coordinator` (#5252)
  Fix zombienet bridges test (#5373)
  Update Readme of the `polkadot` crate (#5326)
  allow for `u8` to be used as hold/freeze reason (#5348)
  Moving cargo check for runtimes to GHA (#5340)
  Update links in the documentation (#5175)
  fix visibility for `pallet_nfts` types used as call arguments (#3634)
  Correct some typos in crates' descriptions (#5262)
  Aura: Ensure we are building on each relay chain fork (#5352)
  Update Identity pallet README.md (#5183)
  Bump trie-db from 0.29.0 to 0.29.1 (#5231)
  [Coretime] Always include UnpaidExecution, not just when revenue is > 0 (#5369)
  [Pools] fix derivation of pool account (#4999)
  Upgrade accidentally downgraded deps (#5365)
  [Pools] Fix issues with member migration to `DelegateStake` (#4822)
  Unify `no_genesis` check (#5360)
  [CI] Fix prdoc command (#5358)
  Beefy: add benchmarks for `report_fork_voting()` (#5188)
ordian added a commit that referenced this pull request Aug 16, 2024
…ct-candidate-weight

* ao-fix-parainclusion-weight-overestimation:
  Remove redundant minimal template workspace (#5330)
  approval-distribution: Fix handling of conclude (#5375)
  More logs in `is_potential_spam` from `dispute-coordinator` (#5252)
  Fix zombienet bridges test (#5373)
  Update Readme of the `polkadot` crate (#5326)
  allow for `u8` to be used as hold/freeze reason (#5348)
  Moving cargo check for runtimes to GHA (#5340)
  Update links in the documentation (#5175)
  fix visibility for `pallet_nfts` types used as call arguments (#3634)
  Correct some typos in crates' descriptions (#5262)
  Aura: Ensure we are building on each relay chain fork (#5352)
  Update Identity pallet README.md (#5183)
  Bump trie-db from 0.29.0 to 0.29.1 (#5231)
  [Coretime] Always include UnpaidExecution, not just when revenue is > 0 (#5369)
  [Pools] fix derivation of pool account (#4999)
  Upgrade accidentally downgraded deps (#5365)
  [Pools] Fix issues with member migration to `DelegateStake` (#4822)
  Unify `no_genesis` check (#5360)
  [CI] Fix prdoc command (#5358)
  Beefy: add benchmarks for `report_fork_voting()` (#5188)
@burdges
Copy link
Copy Markdown
Contributor

burdges commented Aug 23, 2024

We could imagine parachains not being able to do this, like because of forks with different ancestors, and blocks being expensive. In particular we'd maybe lose this if we ever added some really CPU heavy storage. What goes wrong in that situation? Just hte obvious that some slots get skipped?

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

Labels

T0-node This PR/Issue is related to the topic “node”.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Collators sometimes miss blocks

6 participants