-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* do not terminate worker on chain close * teardown timeout * update node test * bump * use latest vitest * fix * extend expect * update endpoints
- Loading branch information
1 parent
b590f31
commit b724995
Showing
26 changed files
with
431 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@acala-network/chopsticks", | ||
"version": "0.9.3-1", | ||
"version": "0.9.3-2", | ||
"author": "Acala Developers <[email protected]>", | ||
"license": "Apache-2.0", | ||
"bin": "./chopsticks.cjs", | ||
|
@@ -41,7 +41,7 @@ | |
"@types/ws": "^8.5.10", | ||
"@types/yargs": "^17.0.32", | ||
"typescript": "^5.2.2", | ||
"vitest": "^0.34.6" | ||
"vitest": "^1.0.0-beta.5" | ||
}, | ||
"files": [ | ||
"dist/esm/**", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@acala-network/chopsticks-core", | ||
"version": "0.9.3-1", | ||
"version": "0.9.3-2", | ||
"author": "Acala Developers <[email protected]>", | ||
"license": "Apache-2.0", | ||
"type": "module", | ||
|
@@ -34,7 +34,7 @@ | |
"@swc/core": "^1.3.99", | ||
"@types/lodash": "^4.14.202", | ||
"typescript": "^5.2.2", | ||
"vitest": "^0.34.6" | ||
"vitest": "^1.0.0-beta.5" | ||
}, | ||
"files": [ | ||
"dist/esm/**", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@acala-network/chopsticks-db", | ||
"version": "0.9.3-1", | ||
"version": "0.9.3-2", | ||
"author": "Acala Developers <[email protected]>", | ||
"license": "Apache-2.0", | ||
"type": "module", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
const { setupWithServer } = require('@acala-network/chopsticks') | ||
const { setupWithServer, destroyWorker } = require('@acala-network/chopsticks') | ||
|
||
async function main() { | ||
const server = await setupWithServer({ endpoint: 'wss://rpc.polkadot.io', db: 'db.sqlite' }) | ||
await server.chain.newBlock() | ||
await server.close() | ||
await destroyWorker() | ||
} | ||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
import { setupWithServer } from '@acala-network/chopsticks' | ||
import { setupWithServer, destroyWorker } from '@acala-network/chopsticks' | ||
|
||
const server = await setupWithServer({ endpoint: 'wss://rpc.polkadot.io', db: 'db.sqlite' }) | ||
await server.chain.newBlock() | ||
await server.close() | ||
await destroyWorker() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@acala-network/chopsticks-testing", | ||
"version": "0.9.3-1", | ||
"version": "0.9.3-2", | ||
"author": "Acala Developers <[email protected]>", | ||
"license": "Apache-2.0", | ||
"type": "module", | ||
|
@@ -17,7 +17,7 @@ | |
"@polkadot/types": "^10.10.1" | ||
}, | ||
"peerDependencies": { | ||
"vitest": "^0.34.0" | ||
"vitest": "*" | ||
}, | ||
"devDependencies": { | ||
"@swc/cli": "0.1.63", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@acala-network/chopsticks-utils", | ||
"version": "0.9.3-1", | ||
"version": "0.9.3-2", | ||
"author": "Acala Developers <[email protected]>", | ||
"license": "Apache-2.0", | ||
"type": "module", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.