Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,6 @@ exports[`Kusama Nomination Pools > nomination pool metadata test > set metadata
{
"data": {
"caller": "HNZata7iMYWmk5RvZRTiAsSDhV8366zq2YGb3tLH5Upf74F",
"poolId": "(rounded 220)",
},
"method": "MetadataUpdated",
"section": "nominationPools",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,6 @@ exports[`Polkadot Nomination Pools > nomination pool metadata test > set metadat
{
"data": {
"caller": "15oF4uVJwmo4TdGW7VfQxNLavjCXviqxT9S1MgbjMNHr6Sp5",
"poolId": "(rounded 330)",
},
"method": "MetadataUpdated",
"section": "nominationPools",
Expand Down
5 changes: 3 additions & 2 deletions packages/shared/src/nomination-pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -660,8 +660,9 @@ async function nominationPoolSetMetadataTest<

await client.dev.newBlock()

/// TODO: no events are emitted here pending a PR to `pallet_nomination_pools`.
await checkEvents(setMetadataEvents, 'nominationPools').toMatchSnapshot('set metadata events')
await checkEvents(setMetadataEvents, 'nominationPools')
.redact({ removeKeys: /poolId/ })
.toMatchSnapshot('set metadata events')

/// Check the set metadata

Expand Down