-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Conversation
Fine by me |
This sounds like a good idea to me. o7 to the wasm node, you were a good idea at the time. I'm unsure about simply commenting things out instead of removing them entirely, but if you want to take onboard the responsibility of removing them in the future then that's okay. Another thing to do would be to replace all instances of |
.gitlab-ci.yml
Outdated
@@ -391,6 +391,7 @@ test-linux-stable-int: | |||
paths: | |||
- ${CI_COMMIT_SHORT_SHA}_int_failure.log | |||
|
|||
# TODO: (dp) Not 100% sure what this does; maybe just rename the CI stage? | |||
check-web-wasm: |
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.
@TriplEight Do you have any input here? Ok if I just rename it to check-tracing
or something?
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.
AFAIU it's a set of tests combined into one job so that reuse the cache better. FWIW now I'd rename it to check-wasm
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.
Thing is this PR removes compiling the substrate client to wasm (obviously the runtime remains in wasm) so that's not a great name. I'll go with check-tracing
for now, let me know if you prefer something else!
LGTM. |
Better we remove rather than comment out. We have the git history. |
Yeah, this is a draft still. :) I expected this to be tougher sell than this so wanted to limit the effort until I knew this was ok with people. |
client/telemetry/src/transport.rs
Outdated
@@ -89,6 +74,7 @@ pub(crate) type WsTrans = libp2p::core::transport::Boxed< | |||
/// | |||
/// For some context, we put this object around the `wasm_ext::ExtTransport` in order to make sure | |||
/// that each telemetry message maps to one single call to `write` in the WASM FFI. | |||
// TODO: (dp) Looks like we don't need this if we remove the `wasm_ext::ExtTransport`? Rework it without. |
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.
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.
Indeed, StreamSink
is necessary anyway.
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.
LGTM, thanks!
bot merge |
Trying merge. |
I think we also want to remove check_web_wasm from polkadot once this change is merged. And also remove check_web_wasm from the required checks in polkadot + substrate in order to be able to merge. @TriplEight Would you be able to do that? |
bot merge |
Trying merge. |
Polkadot companion: paritytech/polkadot#3652
There has been some discussion about the current status of the substrate-in-the-browser project and my understanding is that it is currently unused (and unloved?) and that the way forward lies in smoldot. This PR removes the code changes that were introduced as part of #2416.
Removing this code will help a bit when replacing
jsonrpc
byjsonrpsee
and makes the telemetry code a bit easier to read.