-
Notifications
You must be signed in to change notification settings - Fork 6
Fixed smoldot westend integration test #170
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
Merged
Merged
Changes from 23 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
127abe3
added relay chainspec to smoldot while using parachain setup
x3c41a 61b1cfd
added retries
x3c41a fdf53b5
extracted waitForChainReady to common
x3c41a 7f476bf
changed function signature
x3c41a 52a7003
refactor
x3c41a c70f80b
refactor
x3c41a 7bbf142
Apply suggestions from code review
bkontur 89b2543
Added WebSocket P2P transport support for smoldot client. Configured …
x3c41a febf06b
fixed formatting
x3c41a a9e328b
removed lastRuntimeUpgrade
x3c41a aa1d499
increased smoldot log level
x3c41a afb4d05
check runtime constants to verify chain is accessibl
x3c41a f8b807e
changed test order to speed up time to result
x3c41a 72b6e8f
added transaction timeout
x3c41a daa9723
added transaction index feature
x3c41a f331210
refactored waitForTransaction
x3c41a b898eac
Revert "refactored waitForTransaction"
x3c41a d79ebf8
Reapply "refactored waitForTransaction"
x3c41a f16cc74
removed westend-spec
x3c41a 1df17b9
revert
x3c41a 2ce5c2b
GitHub-hosted runners that have pre-installed Microsoft repos which s…
x3c41a dd9dde8
simplified convertBootNode and readChainSpec, refactored code
x3c41a eb7aad9
refactor log level
x3c41a 51b6165
Update examples/authorize_and_store_papi_smoldot.js
bkontur 36c297d
reverted order back
x3c41a acdd70d
removed chainspec
x3c41a cd23abf
simplified westend chain_spec
x3c41a 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 hidden or 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -15,14 +15,20 @@ chain = "westend-local" | |
| [[relaychain.nodes]] | ||
| name = "alice" | ||
| validator = true | ||
| p2p_port = 30333 | ||
| rpc_port = 9942 | ||
| balance = 2000000000000 | ||
| # WebSocket P2P on p2p_port + 1 for smoldot light client support | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. comments to be moved or removed |
||
| args = ["--listen-addr", "/ip4/0.0.0.0/tcp/30334/ws"] | ||
bkontur marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| [[relaychain.nodes]] | ||
| name = "bob" | ||
| validator = true | ||
| p2p_port = 30433 | ||
| rpc_port = 9943 | ||
| balance = 2000000000000 | ||
| # WebSocket P2P on p2p_port + 1 for smoldot light client support | ||
| args = ["--listen-addr", "/ip4/0.0.0.0/tcp/30434/ws"] | ||
|
|
||
| [[parachains]] | ||
| id = 1006 | ||
|
|
@@ -38,6 +44,9 @@ rpc_port = 10000 | |
| args = [ | ||
| "--ipfs-server", | ||
| "-lparachain=debug,runtime=trace,xcm=trace,bitswap=trace,sub-libp2p::bitswap=trace", | ||
| # WebSocket P2P on p2p_port + 1 for smoldot light client support | ||
| "--listen-addr", | ||
| "/ip4/0.0.0.0/tcp/10002/ws", | ||
| ] | ||
|
|
||
| [[parachains.collators]] | ||
|
|
@@ -49,4 +58,7 @@ rpc_port = 12346 | |
| args = [ | ||
| "--ipfs-server", | ||
| "-lparachain=debug,runtime=trace,xcm=trace,bitswap=trace,sub-libp2p::bitswap=trace", | ||
| # WebSocket P2P on p2p_port + 1 for smoldot light client support | ||
| "--listen-addr", | ||
| "/ip4/0.0.0.0/tcp/12348/ws", | ||
| ] | ||
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.
Uh oh!
There was an error while loading. Please reload this page.