Skip to content
Snippets Groups Projects
Unverified Commit 6a3d10b3 authored by Raymond Cheung's avatar Raymond Cheung Committed by GitHub
Browse files

Simplify event assertion with predicate-based check (#7734)


A follow-up PR to simplify event assertions by introducing
`contains_event`, allowing event checks without needing exact field
matches. This reduces redundancy and makes tests more flexible.

Partially addresses #6119 by providing an alternative way to assert
events.

Reference: [PR #7594 -
Discussion](https://github.com/paritytech/polkadot-sdk/pull/7594#discussion_r1965566349)

---------

Co-authored-by: default avatarcmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: default avatarBranislav Kontur <bkontur@gmail.com>
Co-authored-by: default avatarBastian Köcher <git@kchr.de>
parent cc83fba1
No related merge requests found
Pipeline #517333 waiting for manual action with stages
in 1 hour, 32 minutes, and 35 seconds
Status
Pipeline
Created by
Stages
Actions
Blocked

01:32:35

avatar

No artifacts found

Blocked

01:20:16

avatar

No artifacts found