Skip to content

[AHM] Fixes to unstable2507#9513

Merged
EgrPrty merged 23 commits intounstable2507from
oty-paseo-fix
Feb 4, 2026
Merged

[AHM] Fixes to unstable2507#9513
EgrPrty merged 23 commits intounstable2507from
oty-paseo-fix

Conversation

@ggwpez
Copy link
Copy Markdown
Member

@ggwpez ggwpez commented Aug 19, 2025

Need to also check that all things are in master.

@ggwpez ggwpez marked this pull request as ready for review August 20, 2025 09:09
@ggwpez ggwpez requested a review from a team as a code owner August 20, 2025 09:09
@ggwpez ggwpez requested a review from acatangiu as a code owner August 20, 2025 10:35
@paritytech-review-bot paritytech-review-bot Bot requested a review from a team August 20, 2025 10:36
@ggwpez ggwpez added the A3-backport Pull request is already reviewed well in another branch. label Aug 20, 2025
@paritytech-workflow-stopper
Copy link
Copy Markdown

All GitHub workflows were cancelled due to failure one of the required jobs.
Failed workflow url: https://github.com/paritytech/polkadot-sdk/actions/runs/17125516219
Failed job name: test-linux-stable-runtime-benchmarks

// deposit to reporter + reporter account endowed.
assert_eq!(System::<T>::read_events_for_pallet::<pallet_balances::Event<T>>().len(), 3);
// make sure reporter got deposited.
assert!(System::<T>::read_events_for_pallet::<pallet_balances::Event<T>>()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From now on, pledge to not approve any PR that does this "event counting" shenanigans :D

"depositor must always have MinCreateBond stake in the pool, except for when the \
pool is being destroyed and the depositor is the last member",
);
let depositor_has_enough_stake = bonded_pool
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this intended? ensure -> warn is a big downgrade in severity

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 to this question

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an artifact of this. #444

The assertion should have been warn from the beginning, as this MinCreateBond can change.

))]
pub fn check_ed_imbalance() -> Result<(), DispatchError> {
let mut failed: u32 = 0;
pub fn check_ed_imbalance() -> Result<u32, DispatchError> {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

major?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah testing only stuff, should have been pub(crate) to begin with. Good catch, but since it is backporting to unstable, let's ignore it? I will keep it in mind for stable backports

Comment thread substrate/frame/offences/benchmarking/src/inner.rs Outdated
Comment thread polkadot/runtime/westend/src/lib.rs
"depositor must always have MinCreateBond stake in the pool, except for when the \
pool is being destroyed and the depositor is the last member",
);
let depositor_has_enough_stake = bonded_pool
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 to this question

Co-authored-by: Adrian Catangiu <adrian@parity.io>
@ggwpez ggwpez changed the base branch from unstable2507 to master November 20, 2025 12:59
@ggwpez ggwpez requested review from a team, cheme and koute as code owners November 20, 2025 12:59
@ggwpez ggwpez changed the base branch from master to unstable2507 November 20, 2025 13:00
ggwpez and others added 3 commits November 20, 2025 14:04
Co-authored-by: Dónal Murray <donal.murray@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
@EgrPrty EgrPrty merged commit 6f30a65 into unstable2507 Feb 4, 2026
239 of 242 checks passed
@EgrPrty EgrPrty deleted the oty-paseo-fix branch February 4, 2026 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A3-backport Pull request is already reviewed well in another branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants