-
Notifications
You must be signed in to change notification settings - Fork 9
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
Introduce running of protocol substrate node and dkg node via the test-utils package #278
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
e3106bf
substrate package util
dharjeezy 616b68b
Merge branch 'master' of https://github.com/webb-tools/webb.js into d…
dharjeezy 129031d
local dkg setup
dharjeezy ef8d287
stable
dharjeezy b1bf36e
make use of substrate nodes in the mixer
dharjeezy 89bb8bb
make use of test util substrate node for the mixer
dharjeezy 0e2f7c6
lint
dharjeezy 10f986c
other tests use test-util
dharjeezy b2f2f78
fetch leaves
dharjeezy 110be28
unskip tests
dharjeezy 0c7f007
startWebbNode()
dharjeezy 2fbc9b9
introduce rpc properties
dharjeezy d5dd729
fix lint
dharjeezy a813013
Merge branch 'master' into dami/consolidate-test-util
dharjeezy b4d2f4c
Update tests/utils/backend-utils.ts
dharjeezy a4ee85d
Update tests/utils/backend-utils.ts
dharjeezy 6f232ba
start webb nodes
dharjeezy 17a311e
fix lint
dharjeezy 3f2ee45
Merge branch 'master' of https://github.com/webb-tools/webb.js into d…
dharjeezy 01b9926
lock
dharjeezy 6e5188e
missing dependency
dharjeezy 01dc288
Merge branch 'master' into dami/consolidate-test-util
dharjeezy 27e111b
Update packages/test-utils/src/substrate/substrateNodeBase.ts
dharjeezy 1fff4ca
remove unwanted configs
dharjeezy 60fade2
Merge remote-tracking branch 'origin/dami/consolidate-test-util' into…
dharjeezy 5a5daa6
remove unwanted configs
dharjeezy d5be3d6
lint fix
dharjeezy 1c75253
changes
dharjeezy a2de406
Merge branch 'master' of https://github.com/webb-tools/webb.js into d…
dharjeezy f03d8af
unskip
dharjeezy 357fe9f
remove any type
dharjeezy f17a6f7
Merge branch 'master' of https://github.com/webb-tools/webb.js into d…
dharjeezy 2f678cc
merge changes
dharjeezy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,24 +5,24 @@ | |
"type": "module", | ||
"author": "Webb Developers <[email protected]>", | ||
"license": "Apache-2.0", | ||
"main": "./cjs/index.js", | ||
"module": "./index.js", | ||
"types": "./index.d.ts", | ||
"main": "./build/cjs/index.js", | ||
"module": "./build/index.js", | ||
"types": "./build/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./index.d.ts", | ||
"require": "./cjs/index.js", | ||
"default": "./index.js" | ||
"types": "./build/index.d.ts", | ||
"require": "./build/cjs/index.js", | ||
"default": "./build/index.js" | ||
}, | ||
"./index.js": { | ||
"types": "./index.d.ts", | ||
"require": "./cjs/index.js", | ||
"default": "./index.js" | ||
"types": "./build/index.d.ts", | ||
"require": "./build/cjs/index.js", | ||
"default": "./build/index.js" | ||
}, | ||
"./src/index.js": { | ||
"types": "./src/index.d.ts", | ||
"require": "./src/cjs/index.js", | ||
"default": "./src/index.js" | ||
"types": "./build/src/index.d.ts", | ||
"require": "./build/src/cjs/index.js", | ||
"default": "./build/src/index.js" | ||
}, | ||
"./cjs/index.js": "./cjs/index.js" | ||
}, | ||
|
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 |
---|---|---|
|
@@ -4,24 +4,24 @@ | |
"description": "Utilities to work with Webb in test environments", | ||
"author": "Webb Developers <[email protected]>", | ||
"type": "module", | ||
"main": "./cjs/index.js", | ||
"module": "./index.js", | ||
"types": "./index.d.ts", | ||
"main": "./build/cjs/index.js", | ||
"module": "./build/index.js", | ||
"types": "./build/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./index.d.ts", | ||
"require": "./cjs/index.js", | ||
"default": "./index.js" | ||
"types": "./build/index.d.ts", | ||
"require": "./build/cjs/index.js", | ||
"default": "./build/index.js" | ||
}, | ||
"./index.js": { | ||
"types": "./index.d.ts", | ||
"require": "./cjs/index.js", | ||
"default": "./index.js" | ||
"types": "./build/index.d.ts", | ||
"require": "./build/cjs/index.js", | ||
"default": "./build/index.js" | ||
}, | ||
"./src/index.js": { | ||
"types": "./src/index.d.ts", | ||
"require": "./src/cjs/index.js", | ||
"default": "./src/index.js" | ||
"types": "./build/src/index.d.ts", | ||
"require": "./build/src/cjs/index.js", | ||
"default": "./build/src/index.js" | ||
} | ||
}, | ||
"license": "Apache-2.0", | ||
|
@@ -30,16 +30,28 @@ | |
"registry": "https://registry.npmjs.org" | ||
}, | ||
"repository": "https://github.com/webb-tools/webb.js.git", | ||
"resolutions": { | ||
"@webb-tools/api": "0.1.4-106", | ||
"@webb-tools/sdk-core": "0.1.4-106" | ||
}, | ||
"dependencies": { | ||
"@polkadot/api": "9.2.4", | ||
"@polkadot/keyring": "10.1.7", | ||
"@webb-tools/api": "0.1.4-106", | ||
"@webb-tools/protocol-solidity": "0.2.7", | ||
"@webb-tools/sdk-core": "0.1.4-106", | ||
"@webb-tools/tokens": "0.2.7", | ||
"@webb-tools/utils": "0.2.7", | ||
"@webb-tools/vbridge": "0.2.7", | ||
"@webb-tools/tokens": "0.2.6", | ||
"@webb-tools/utils": "0.2.6", | ||
"@webb-tools/vbridge": "0.2.6", | ||
"@webb-tools/protocol-solidity": "0.2.6", | ||
"ecpair": "^2.0.1", | ||
"ethers": "5.7.0", | ||
"ganache": "7.4.1" | ||
"ganache": "7.4.1", | ||
"get-port": "6.1.2", | ||
"is-ci": "^3.0.1", | ||
"tiny-secp256k1": "^2.2.1", | ||
"prettier": "^2.2.1" | ||
}, | ||
"devDependencies": { | ||
"@types/is-ci": "^3.0.0" | ||
} | ||
} |
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CC @nepoche to check these since he would know best if this is how we should point to the files. Have a feeling we shouldn't have this. Any reason why its added @dharjeezy ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yh, so i was having issue trying to use the package in the integration tests. So, i had to point to the files like that just as it is being done here https://github.com/webb-tools/webb.js/blob/master/packages/sdk-core/package.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is consistent with the way we are building packages for the monorepo, esm, and cjs.