Skip to content

Commit

Permalink
ci-skip-rust rupdate events
Browse files Browse the repository at this point in the history
  • Loading branch information
Ad96el committed Jan 23, 2025
1 parent 1338c96 commit c49bc1f
Show file tree
Hide file tree
Showing 5 changed files with 252 additions and 40 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`Withdraw Asset > Hydration -> KILT DEV > receiver events {"section":"system","method":"NewAccount"} 1`] = `
[
{
"data": {
"account": "4rsmbFBYpVmWE2LHRsSZKxf22a8cbJLxMZqvVGkGkSDmDBcr",
},
"method": "NewAccount",
"section": "system",
},
]
`;

exports[`Withdraw Asset > Hydration -> KILT at Block > receiver events "messageQueue" 1`] = `
[
{
Expand Down Expand Up @@ -86,7 +74,7 @@ exports[`Withdraw Asset > Hydration -> KILT at Block > sender events {"section":
[
{
"data": {
"amount": "(rounded 520000000000)",
"amount": "(rounded 500000000000)",
"currencyId": 0,
"who": "7NL1GYCJu8cFSnWBLwET2X3fMdodw8T75zuxi59hA2bhdjQq",
},
Expand All @@ -96,7 +84,7 @@ exports[`Withdraw Asset > Hydration -> KILT at Block > sender events {"section":
{
"data": {
"amount": 1000000000000000,
"currencyId": 28,
"currencyId": "(rounded 30)",
"who": "7NL1GYCJu8cFSnWBLwET2X3fMdodw8T75zuxi59hA2bhdjQq",
},
"method": "Withdrawn",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ describe.each(testPairsWithdrawAssets)(

Promise.all(
pallets.sender.map((pallet) =>
checkEvents(events, pallet).toMatchSnapshot(`sender events ${JSON.stringify(pallet)}`)
checkEvents(events, pallet)
.redact({ number: 1 })
.toMatchSnapshot(`sender events ${JSON.stringify(pallet)}`)
)
)

Expand Down Expand Up @@ -112,9 +114,9 @@ describe.each(testPairsWithdrawAssets)(

await Promise.all(

Check failure on line 115 in integration-tests/chopsticks/src/tests/xcm/initiateWithdrawAsset/index.test.ts

View workflow job for this annotation

GitHub Actions / Run Chopsticks tests

src/tests/xcm/initiateWithdrawAsset/index.test.ts > Withdraw Asset > Hydration -> KILT DEV

Error: Snapshot `Withdraw Asset > Hydration -> KILT DEV > receiver events {"section":"system","method":"NewAccount"} 1` mismatched ❯ Checker.toMatchSnapshot node_modules/@acala-network/chopsticks-testing/dist/esm/check.js:163:51 ❯ src/tests/xcm/initiateWithdrawAsset/index.test.ts:115:4

Check failure on line 115 in integration-tests/chopsticks/src/tests/xcm/initiateWithdrawAsset/index.test.ts

View workflow job for this annotation

GitHub Actions / Run Chopsticks tests

src/tests/xcm/initiateWithdrawAsset/index.test.ts > Withdraw Asset > Hydration -> KILT DEV

Error: Snapshot `Withdraw Asset > Hydration -> KILT DEV > receiver events {"section":"system","method":"NewAccount"} 2` mismatched ❯ Checker.toMatchSnapshot node_modules/@acala-network/chopsticks-testing/dist/esm/check.js:163:51 ❯ src/tests/xcm/initiateWithdrawAsset/index.test.ts:115:4

Check failure on line 115 in integration-tests/chopsticks/src/tests/xcm/initiateWithdrawAsset/index.test.ts

View workflow job for this annotation

GitHub Actions / Run Chopsticks tests

src/tests/xcm/initiateWithdrawAsset/index.test.ts > Withdraw Asset > Hydration -> KILT DEV

Error: Snapshot `Withdraw Asset > Hydration -> KILT DEV > receiver events {"section":"system","method":"NewAccount"} 3` mismatched ❯ Checker.toMatchSnapshot node_modules/@acala-network/chopsticks-testing/dist/esm/check.js:163:51 ❯ src/tests/xcm/initiateWithdrawAsset/index.test.ts:115:4

Check failure on line 115 in integration-tests/chopsticks/src/tests/xcm/initiateWithdrawAsset/index.test.ts

View workflow job for this annotation

GitHub Actions / Run Chopsticks tests

src/tests/xcm/initiateWithdrawAsset/index.test.ts > Withdraw Asset > Hydration -> KILT DEV

Error: Snapshot `Withdraw Asset > Hydration -> KILT DEV > receiver events {"section":"system","method":"NewAccount"} 4` mismatched ❯ Checker.toMatchSnapshot node_modules/@acala-network/chopsticks-testing/dist/esm/check.js:163:51 ❯ src/tests/xcm/initiateWithdrawAsset/index.test.ts:115:4
pallets.receiver.map((pallet) =>
checkSystemEvents(receiverContext, pallet).toMatchSnapshot(
`receiver events ${JSON.stringify(pallet)}`
)
checkSystemEvents(receiverContext, pallet)
.redact({ number: 1 })
.toMatchSnapshot(`receiver events ${JSON.stringify(pallet)}`)
)
)

Expand Down
Loading

0 comments on commit c49bc1f

Please sign in to comment.