Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

txpool refactor #223

Merged
merged 18 commits into from
Mar 7, 2023
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
4 changes: 4 additions & 0 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@
},
"dependencies": {
"@acala-network/chopsticks": "workspace:*",
"@acala-network/chopsticks-tests": "workspace:*",
"@polkadot/api": "^9.14.2"
},
"devDependencies": {
"@swc/core": "^1.3.38",
"@types/prettier": "^2.7.2",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.53.0",
Expand All @@ -25,6 +27,8 @@
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
"prettier": "^2.8.4",
"typescript": "^4.9.5",
"unplugin-swc": "^1.3.2",
"vitest": "^0.29.2"
}
}
213 changes: 96 additions & 117 deletions e2e/src/__snapshots__/author.test.ts.snap

Large diffs are not rendered by default.

34 changes: 9 additions & 25 deletions e2e/src/__snapshots__/dev-dry-run-dmp.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exports[`dev_dryRun dmp > works 1`] = `
{
"event": {
"data": {
"amount": "44,619,385,455",
"amount": "44,539,728,928",
"currencyId": {
"Token": "AUSD",
},
Expand All @@ -21,23 +21,7 @@ exports[`dev_dryRun dmp > works 1`] = `
{
"event": {
"data": {
"amount": "44,619,385,455",
"currencyId": {
"Token": "AUSD",
},
"who": "23M5ttkmR6KcnvsNJdmYTpLo9xfc54g8uCk55buDfiJPon69",
},
"index": "0x0b00",
"method": "Endowed",
"section": "tokens",
},
"phase": "Initialization",
"topics": [],
},
{
"event": {
"data": {
"amount": "2,990,804,362",
"amount": "2,326,657,466",
"currencyId": {
"Token": "AUSD",
},
Expand All @@ -53,7 +37,7 @@ exports[`dev_dryRun dmp > works 1`] = `
{
"event": {
"data": {
"amount": "1,471,890,122",
"amount": "1,151,984,917",
"currencyId": {
"Token": "AUSD",
},
Expand All @@ -69,7 +53,7 @@ exports[`dev_dryRun dmp > works 1`] = `
{
"event": {
"data": {
"amount": "8,779,155,449",
"amount": "6,761,612,127",
"currencyId": {
"Token": "AUSD",
},
Expand All @@ -90,7 +74,7 @@ exports[`dev_dryRun dmp > works 1`] = `
"paysFee": "Yes",
"weight": {
"proofSize": "0",
"refTime": "244,378,000",
"refTime": "260,558,000",
},
},
},
Expand Down Expand Up @@ -120,7 +104,7 @@ exports[`dev_dryRun dmp > works 1`] = `
{
"event": {
"data": {
"amount": "4,099,997,616,912",
"amount": "4,099,998,328,990",
"currencyId": {
"Token": "DOT",
},
Expand All @@ -138,7 +122,7 @@ exports[`dev_dryRun dmp > works 1`] = `
{
"event": {
"data": {
"amount": "2,383,088",
"amount": "1,671,010",
"currencyId": {
"Token": "DOT",
},
Expand Down Expand Up @@ -173,7 +157,7 @@ exports[`dev_dryRun dmp > works 1`] = `
{
"event": {
"data": {
"dmqHead": "0x842783101bd919c29d091ef3d7e8012cefe31548b848c6558317096f44196cb4",
"dmqHead": "0x6db9e5ea6d489bbd516e7923c0534a86c4e61207e523cfd1eb4f7ed3c2c350f7",
"weightUsed": {
"proofSize": "0",
"refTime": "800,000,000",
Expand All @@ -196,7 +180,7 @@ exports[`dev_dryRun dmp > works 1`] = `
"paysFee": "No",
"weight": {
"proofSize": "0",
"refTime": "86,298,000",
"refTime": "98,974,000",
},
},
},
Expand Down
Loading