dynamic tier thresholds (#1306) #54
Annotations
6 errors
e2e-tests/tests/staking/tier-threshold.test.ts#L24
Error: Snapshot `Number of slots adjusted based on price 1` mismatched
- Expected
+ Received
@@ -1,7 +1,6 @@
{
- "numberOfSlots": "150",
"rewardPortion": [
"25.00%",
"47.00%",
"25.00%",
"3.00%",
@@ -11,30 +10,11 @@
"30",
"45",
"67",
],
"tierThresholds": [
- {
- "DynamicTvlAmount": {
- "amount": "200,000,000,000,000,000,100,000,000",
- "minimumAmount": "200,000,000,000,000,000,000,000,000",
- },
- },
- {
- "DynamicTvlAmount": {
- "amount": "50,000,000,000,000,000,025,000,000",
- "minimumAmount": "50,000,000,000,000,000,000,000,000",
- },
- },
- {
- "DynamicTvlAmount": {
- "amount": "15,000,000,000,000,000,000,000,000",
- "minimumAmount": "15,000,000,000,000,000,000,000,000",
- },
- },
- {
- "FixedTvlAmount": {
- "amount": "1,500,000,000,000,000,000,000,000",
- },
- },
+ "194,730,858,539,176,682,192,408,861",
+ "49,091,813,077,103,365,234,044,563",
+ "14,645,724,234,669,170,628,156,628",
+ "1,636,393,769,236,778,841,134,819",
],
}
❯ tests/staking/tier-threshold.test.ts:24:70
|
e2e-tests/helpers/index.ts#L7
Error: Snapshot `Astar & AssetHub > 001: AssetHub transfer USDT to Astar > 002: astar event 1` mismatched
- Expected
+ Received
[
{
"data": {
- "messageHash": "(hash)",
- "messageId": "(hash)",
- "weight": {
+ "id": "(hash)",
+ "origin": {
+ "Sibling": 1000,
+ },
+ "success": true,
+ "weightUsed": {
"proofSize": "(rounded 11000)",
"refTime": "(rounded 990000000)",
},
},
- "method": "Success",
- "section": "xcmpQueue",
+ "method": "Processed",
+ "section": "messageQueue",
},
]
❯ Object.toMatchSnapshot helpers/index.ts:7:15
❯ Checker.toMatchSnapshot node_modules/@acala-network/chopsticks-testing/dist/esm/check.js:163:51
❯ tests/xcm-transfer/astar-asset-hub.test.ts:39:7
|
e2e-tests/helpers/index.ts#L7
Error: Snapshot `Polkadot & Astar > 001: Polkadot transfer DOT to Astar > 002: astar event 1` mismatched
- Expected
+ Received
[
{
"data": {
- "count": 1,
- },
- "method": "DownwardMessagesReceived",
- "section": "parachainSystem",
- },
- {
- "data": {
- "messageHash": "(hash)",
- "messageId": "(hash)",
- "outcome": {
- "Complete": {
- "proofSize": "(rounded 11000)",
- "refTime": "(rounded 990000000)",
- },
- },
- },
- "method": "ExecutedDownward",
- "section": "dmpQueue",
- },
- {
- "data": {
- "dmqHead": "(hash)",
+ "id": "(hash)",
+ "origin": "Parent",
+ "success": true,
"weightUsed": {
"proofSize": "(rounded 11000)",
"refTime": "(rounded 990000000)",
},
},
- "method": "DownwardMessagesProcessed",
- "section": "parachainSystem",
+ "method": "Processed",
+ "section": "messageQueue",
+ },
+ {
+ "data": {},
+ "method": "CompletedOverweightExport",
+ "section": "dmpQueue",
},
]
❯ Object.toMatchSnapshot helpers/index.ts:7:15
❯ Checker.toMatchSnapshot node_modules/@acala-network/chopsticks-testing/dist/esm/check.js:163:51
❯ tests/xcm-transfer/polkadot-astar.test.ts:31:7
|
e2e-tests/helpers/index.ts#L7
Error: Snapshot `Polkadot & Astar > 002: Astar transfer DOT to Polkadot > 001: astar event 1` mismatched
- Expected
+ Received
@@ -4,6 +4,11 @@
"messageHash": "(hash)",
},
"method": "UpwardMessageSent",
"section": "parachainSystem",
},
+ {
+ "data": {},
+ "method": "StartedOverweightExport",
+ "section": "dmpQueue",
+ },
]
❯ Object.toMatchSnapshot helpers/index.ts:7:15
❯ Checker.toMatchSnapshot node_modules/@acala-network/chopsticks-testing/dist/esm/check.js:163:51
❯ tests/xcm-transfer/polkadot-astar.test.ts:42:7
|
e2e-tests/tests/xcm-transfer/shiden-asset-hub.test.ts#L65
AssertionError: Expected amount was not received: expected 9989987 to be close to 10000000 +/- 10000
❯ tests/xcm-transfer/shiden-asset-hub.test.ts:65:54
|
|
This job failed
Loading