-
Notifications
You must be signed in to change notification settings - Fork 90
Conversation
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
fe9502b
to
188f994
Compare
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.
Reviewed 5 of 6 files at r1, 12 of 12 files at r2, all commit messages.
Reviewable status: all files reviewed, 6 unresolved discussions (waiting on @nagmo-starkware)
crates/papyrus_network/build.rs
line 8 at r2 (raw file):
let dir = env::current_dir().unwrap(); println!("{dir:?}"); env::set_var("PROTOC", "./protoc");
Why? What's the problem with using the protoc that PROTOC defined?
crates/papyrus_network/src/streamed_data_protocol/behaviour_test.rs
line 104 at r2 (raw file):
// TODO(shahak): Change to BlockHeadersRequest::default() when the bug that forbids sending // default messages is fixed. let query = BlockHeadersRequest { ..Default::default() };
This is equivalent to BlockHeadersRequest::default()
Because we don't send messages here, you can simply use default and erase this TODO
crates/papyrus_network/src/streamed_data_protocol/handler_test.rs
line 196 at r2 (raw file):
let (inbound_stream, mut outbound_stream, _) = get_connected_streams().await; // TODO(shahak): Change to BlockHeadersRequest::default() when the bug that forbids sending
This is equivalent to BlockHeadersRequest::default()
Because we don't read/write the query here, you can simply use default and erase this TODO
Same for the rest of the file
crates/papyrus_network/src/streamed_data_protocol/handler_test.rs
line 317 at r2 (raw file):
for data in hardcoded_data_vec.clone() { validate_received_data_event(&mut handler, &data, outbound_session_id).await;
Why?
docs/CONTRIBUTING.md
line 52 at r2 (raw file):
- [Protoc](https://github.com/protocolbuffers/protobuf/releases/tag/v24.3) - You'll need Protoc only for compiling the [papyrus_network](../crates/papyrus_network/) crate. - required version is: 24.3.
Remove the space after the dot
docs/CONTRIBUTING.md
line 53 at r2 (raw file):
- You'll need Protoc only for compiling the [papyrus_network](../crates/papyrus_network/) crate. - required version is: 24.3. - the `protoc` execution file should be placed in the `papyrus_network` folder (git is set to automatically ignore it).
If you'll accept what I wrote previously, remove this
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.
Reviewable status: 13 of 16 files reviewed, 6 unresolved discussions (waiting on @ShahakShama)
crates/papyrus_network/build.rs
line 8 at r2 (raw file):
Previously, ShahakShama wrote…
Why? What's the problem with using the protoc that PROTOC defined?
we need to use the latest version the support Ittay's syntax. the only way it worked for me is to download the binaries from the github release and then we need to give it a path to the protoc executable.
this seems easier to me then providing the path addhoc on every cargo build call
crates/papyrus_network/src/streamed_data_protocol/behaviour_test.rs
line 104 at r2 (raw file):
Previously, ShahakShama wrote…
This is equivalent to BlockHeadersRequest::default()
Because we don't send messages here, you can simply use default and erase this TODO
right that was relevant for a previous iteration
crates/papyrus_network/src/streamed_data_protocol/handler_test.rs
line 196 at r2 (raw file):
Previously, ShahakShama wrote…
This is equivalent to BlockHeadersRequest::default()
Because we don't read/write the query here, you can simply use default and erase this TODOSame for the rest of the file
Done.
crates/papyrus_network/src/streamed_data_protocol/handler_test.rs
line 317 at r2 (raw file):
Previously, ShahakShama wrote…
Why?
fixed
docs/CONTRIBUTING.md
line 52 at r2 (raw file):
Previously, ShahakShama wrote…
Remove the space after the dot
Done.
docs/CONTRIBUTING.md
line 53 at r2 (raw file):
Previously, ShahakShama wrote…
If you'll accept what I wrote previously, remove this
see my response
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.
Reviewed 3 of 3 files at r3, all commit messages.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @nagmo-starkware)
crates/papyrus_network/build.rs
line 8 at r2 (raw file):
Previously, nagmo-starkware wrote…
we need to use the latest version the support Ittay's syntax. the only way it worked for me is to download the binaries from the github release and then we need to give it a path to the protoc executable.
this seems easier to me then providing the path addhoc on every cargo build call
Then guide the users that if they have multiple installations of protoc from different versions then they'll need to set the env var PROTOC to the correct one. Let users that have only the latest version (like me) to just use it
crates/papyrus_network/src/streamed_data_protocol/handler_test.rs
line 196 at r2 (raw file):
Previously, nagmo-starkware wrote…
Done.
You didn't fix for the rest of the file
11e16fd
to
e05b1ef
Compare
There hasn't been any activity on this pull request recently, and in order to prioritize active work, it has been marked as stale. |
Pull Request type
Please check the type of change your PR introduces:
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this introduce a breaking change?
Other information
This change is