This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[zombinet] initial implementation of zombienet backchannel #4377
Merged
+430
−1
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
f9ef6b9
initial impl zombienet backchannel
pepoviola ce50d2f
clean code
pepoviola 46c25b3
changes from feedback
pepoviola 6a3b7c6
fmt and typo
pepoviola e6f73a1
remove default comment
pepoviola b3be116
refactor to use ws tx/rx
pepoviola b3eed29
fmt
pepoviola 91b6975
Merge branch 'master' into javier-zombienet-backchannel
pepoviola 5953051
derive Clone for ZombienetBackchannel
pepoviola e340d32
Revert "derive Clone for ZombienetBackchannel"
pepoviola 0ccb705
change tracing prefix value
pepoviola 39dae39
Merge branch 'master' into javier-zombienet-backchannel
pepoviola f3014e7
refactor backchannel
pepoviola 1558d42
Update node/zombienet-backchannel/Cargo.toml
pepoviola bd729ae
add docs to broadcaster methods
pepoviola 486794f
add more docs
pepoviola ed47fee
Merge branch 'master' into javier-zombienet-backchannel
pepoviola 16a7b99
fmt
pepoviola c83269d
Merge branch 'master' into javier-zombienet-backchannel
pepoviola 1e001cd
fix spellcheck
pepoviola d1e4223
update lock file
pepoviola 1a38285
remove unused
pepoviola e4d9dbc
fmt
pepoviola c5a0791
Merge branch 'master' into javier-zombienet-backchannel
pepoviola 9cda227
changes from feedback
pepoviola d14b7c8
fmt
pepoviola 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
clean code
- Loading branch information
commit ce50d2ff4cee624d0afc8e5ff44f43dbf5f772d9
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
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 |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| // Copyright 2021 Parity Technologies (UK) Ltd. | ||
| // This file is part of Polkadot. | ||
|
|
||
| // Polkadot is free software: you can redistribute it and/or modify | ||
| // it under the terms of the GNU General Public License as published by | ||
| // the Free Software Foundation, either version 3 of the License, or | ||
| // (at your option) any later version. | ||
|
|
||
| // Polkadot is distributed in the hope that it will be useful, | ||
| // but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| // GNU General Public License for more details. | ||
|
|
||
| // You should have received a copy of the GNU General Public License | ||
| // along with Polkadot. If not, see <http://www.gnu.org/licenses/>. | ||
|
|
||
| //! Polkadot Zombienet Bacjchannel error definitions. | ||
|
|
||
| #[derive(Debug, thiserror::Error)] | ||
| #[allow(missing_docs)] | ||
| pub enum BackchannelError { | ||
| #[error("Error connecting websocket server")] | ||
| CantConnectToWS, | ||
|
|
||
| #[error("Error sending new value to backchannel")] | ||
| SendItemFail, | ||
| } |
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
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.