Skip to content

Commit cfa7d53

Browse files
committed
Redact one more unstable test snapshot
1 parent 6067ab0 commit cfa7d53

10 files changed

+31
-29
lines changed

packages/kusama/src/__snapshots__/assetHubKusama.multisig.e2e.test.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,15 @@ exports[`AssetHubKusama Multisig > cancelling a non-existent multisig operation
156156
"dispatchError": {
157157
"Module": {
158158
"error": "0x07000000",
159-
"index": 41,
159+
"index": "(rounded 40)",
160160
},
161161
},
162162
"dispatchInfo": {
163163
"class": "Normal",
164164
"paysFee": "Yes",
165165
"weight": {
166-
"proofSize": "(rounded 17000)",
167-
"refTime": "(rounded 740000000)",
166+
"proofSize": "(rounded 20000)",
167+
"refTime": "(rounded 700000000)",
168168
},
169169
},
170170
},

packages/kusama/src/__snapshots__/kusama.multisig.e2e.test.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,15 @@ exports[`Kusama Multisig > cancelling a non-existent multisig operation fails >
156156
"dispatchError": {
157157
"Module": {
158158
"error": "0x07000000",
159-
"index": 31,
159+
"index": "(rounded 30)",
160160
},
161161
},
162162
"dispatchInfo": {
163163
"class": "Normal",
164164
"paysFee": "Yes",
165165
"weight": {
166-
"proofSize": "(rounded 14000)",
167-
"refTime": "(rounded 630000000)",
166+
"proofSize": "(rounded 10000)",
167+
"refTime": "(rounded 600000000)",
168168
},
169169
},
170170
},

packages/kusama/src/__snapshots__/peopleKusama.multisig.e2e.test.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,15 @@ exports[`PeopleKusama Multisig > cancelling a non-existent multisig operation fa
156156
"dispatchError": {
157157
"Module": {
158158
"error": "0x07000000",
159-
"index": 41,
159+
"index": "(rounded 40)",
160160
},
161161
},
162162
"dispatchInfo": {
163163
"class": "Normal",
164164
"paysFee": "Yes",
165165
"weight": {
166-
"proofSize": "(rounded 19000)",
167-
"refTime": "(rounded 1400000000)",
166+
"proofSize": "(rounded 20000)",
167+
"refTime": "(rounded 1000000000)",
168168
},
169169
},
170170
},

packages/polkadot/src/__snapshots__/assetHubPolkadot.multisig.e2e.test.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,15 @@ exports[`AssetHubPolkadot Multisig > cancelling a non-existent multisig operatio
156156
"dispatchError": {
157157
"Module": {
158158
"error": "0x07000000",
159-
"index": 41,
159+
"index": "(rounded 40)",
160160
},
161161
},
162162
"dispatchInfo": {
163163
"class": "Normal",
164164
"paysFee": "Yes",
165165
"weight": {
166-
"proofSize": "(rounded 17000)",
167-
"refTime": "(rounded 620000000)",
166+
"proofSize": "(rounded 20000)",
167+
"refTime": "(rounded 600000000)",
168168
},
169169
},
170170
},

packages/polkadot/src/__snapshots__/bridgeHubPolkadot.multisig.e2e.test.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,15 @@ exports[`BridgeHubPolkadot Multisig > cancelling a non-existent multisig operati
156156
"dispatchError": {
157157
"Module": {
158158
"error": "0x07000000",
159-
"index": 41,
159+
"index": "(rounded 40)",
160160
},
161161
},
162162
"dispatchInfo": {
163163
"class": "Normal",
164164
"paysFee": "Yes",
165165
"weight": {
166-
"proofSize": "(rounded 19000)",
167-
"refTime": "(rounded 1400000000)",
166+
"proofSize": "(rounded 20000)",
167+
"refTime": "(rounded 1000000000)",
168168
},
169169
},
170170
},

packages/polkadot/src/__snapshots__/collectivesPolkadot.multisig.e2e.test.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,15 @@ exports[`CollectivesPolkadot Multisig > cancelling a non-existent multisig opera
156156
"dispatchError": {
157157
"Module": {
158158
"error": "0x07000000",
159-
"index": 41,
159+
"index": "(rounded 40)",
160160
},
161161
},
162162
"dispatchInfo": {
163163
"class": "Normal",
164164
"paysFee": "Yes",
165165
"weight": {
166-
"proofSize": "(rounded 19000)",
167-
"refTime": "(rounded 1400000000)",
166+
"proofSize": "(rounded 20000)",
167+
"refTime": "(rounded 1000000000)",
168168
},
169169
},
170170
},

packages/polkadot/src/__snapshots__/coretimePolkadot.multisig.e2e.test.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,15 @@ exports[`CoretimePolkadot Multisig > cancelling a non-existent multisig operatio
156156
"dispatchError": {
157157
"Module": {
158158
"error": "0x07000000",
159-
"index": 41,
159+
"index": "(rounded 40)",
160160
},
161161
},
162162
"dispatchInfo": {
163163
"class": "Normal",
164164
"paysFee": "Yes",
165165
"weight": {
166-
"proofSize": "(rounded 19000)",
167-
"refTime": "(rounded 1400000000)",
166+
"proofSize": "(rounded 20000)",
167+
"refTime": "(rounded 1000000000)",
168168
},
169169
},
170170
},

packages/polkadot/src/__snapshots__/peoplePolkadot.multisig.e2e.test.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,15 @@ exports[`PeoplePolkadot Multisig > cancelling a non-existent multisig operation
156156
"dispatchError": {
157157
"Module": {
158158
"error": "0x07000000",
159-
"index": 41,
159+
"index": "(rounded 40)",
160160
},
161161
},
162162
"dispatchInfo": {
163163
"class": "Normal",
164164
"paysFee": "Yes",
165165
"weight": {
166-
"proofSize": "(rounded 19000)",
167-
"refTime": "(rounded 1400000000)",
166+
"proofSize": "(rounded 20000)",
167+
"refTime": "(rounded 1000000000)",
168168
},
169169
},
170170
},

packages/polkadot/src/__snapshots__/polkadot.multisig.e2e.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ exports[`Polkadot Multisig > cancelling a non-existent multisig operation fails
163163
"class": "Normal",
164164
"paysFee": "Yes",
165165
"weight": {
166-
"proofSize": "(rounded 14000)",
167-
"refTime": "(rounded 580000000)",
166+
"proofSize": "(rounded 10000)",
167+
"refTime": "(rounded 600000000)",
168168
},
169169
},
170170
},

packages/shared/src/multisig.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1519,9 +1519,11 @@ async function notFoundCancelTest<
15191519

15201520
await client.dev.newBlock()
15211521

1522-
await checkEvents(failedTxEvents1, { section: 'system', method: 'ExtrinsicFailed' }).toMatchSnapshot(
1523-
'events when cancelling multisig with wrong signatories fails',
1524-
)
1522+
await checkEvents(failedTxEvents1, { section: 'system', method: 'ExtrinsicFailed' })
1523+
.redact({
1524+
number: 1,
1525+
})
1526+
.toMatchSnapshot('events when cancelling multisig with wrong signatories fails')
15251527

15261528
// Check for ExtrinsicFailed event
15271529
events = await client.api.query.system.events()

0 commit comments

Comments
 (0)