-
Notifications
You must be signed in to change notification settings - Fork 21
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
chore(mempool_infra): wrap serde operations with generic custom struc… #904
chore(mempool_infra): wrap serde operations with generic custom struc… #904
Conversation
a596799
to
5f99898
Compare
c1ad11c
to
171eece
Compare
5f99898
to
1c0cdef
Compare
171eece
to
c4d0def
Compare
Benchmark movements: |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #904 +/- ##
===========================================
- Coverage 74.18% 29.38% -44.81%
===========================================
Files 359 137 -222
Lines 36240 12971 -23269
Branches 36240 12971 -23269
===========================================
- Hits 26886 3811 -23075
- Misses 7220 8885 +1665
+ Partials 2134 275 -1859
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
1c0cdef
to
cc2530b
Compare
cc2530b
to
8c2ab8a
Compare
Benchmark movements: |
8c2ab8a
to
46ca74c
Compare
192301f
to
56b3c96
Compare
2f148c9
to
126c2dc
Compare
a66db70
to
b18f8fc
Compare
126c2dc
to
17a134b
Compare
b18f8fc
to
9b3c9c2
Compare
17a134b
to
6e5791d
Compare
6e5791d
to
37a1dee
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.
Reviewable status: 0 of 13 files reviewed, 3 unresolved discussions (waiting on @Itay-Tsabary-Starkware)
crates/gateway_types/src/communication.rs
line 81 at r1 (raw file):
// } // } // }
If this code is not needed, it is better to delete it.
Code quote:
// #[async_trait]
// impl GatewayClient for RemoteGatewayClientImpl {
// #[instrument(skip(self))]
// async fn add_tx(&self, gateway_input: GatewayInput) -> GatewayClientResult<TransactionHash> {
// let request = GatewayRequest::AddTransaction(gateway_input);
// let response = self.send(request).await?;
// match response {
// GatewayResponse::AddTransaction(Ok(response)) => Ok(response),
// GatewayResponse::AddTransaction(Err(response)) => {
// Err(GatewayClientError::GatewayError(response))
// }
// }
// }
// }
crates/mempool_infra/src/component_client/remote_component_client.rs
line 82 at r1 (raw file):
impl<Request, Response> RemoteComponentClient<Request, Response> where Request: Serialize + DeserializeOwned + std::fmt::Debug + Clone,
Add "use std::fmt::Debug" as per other modules.
Code quote:
std::fmt::Debug
crates/mempool_infra/src/component_server/remote_component_server.rs
line 112 at r1 (raw file):
impl<Request, Response> RemoteComponentServer<Request, Response> where Request: Serialize + DeserializeOwned + std::fmt::Debug + Send + Sync + 'static,
Add "use std::fmt::Debug" as per other modules.
Code quote:
std::fmt::Debug
37a1dee
to
d4d9698
Compare
74e4436
to
5c7105f
Compare
commit-id:93bc459d
d4d9698
to
21ce914
Compare
5c7105f
to
84f37c0
Compare
…t towards binary serde commit-id:325d0501
21ce914
to
0426588
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.
Reviewable status: 0 of 13 files reviewed, 3 unresolved discussions (waiting on @lev-starkware)
crates/gateway_types/src/communication.rs
line 81 at r1 (raw file):
Previously, lev-starkware wrote…
If this code is not needed, it is better to delete it.
Done.
crates/mempool_infra/src/component_client/remote_component_client.rs
line 82 at r1 (raw file):
Previously, lev-starkware wrote…
Add "use std::fmt::Debug" as per other modules.
Done.
crates/mempool_infra/src/component_server/remote_component_server.rs
line 112 at r1 (raw file):
Previously, lev-starkware wrote…
Add "use std::fmt::Debug" as per other modules.
Done.
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 6 of 13 files at r1, 3 of 6 files at r2, 3 of 3 files at r3, all commit messages.
Reviewable status: 12 of 13 files reviewed, 3 unresolved discussions
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 6 of 13 files at r1, 4 of 6 files at r2, 3 of 3 files at r3, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @Itay-Tsabary-Starkware)
Benchmark movements: |
…t towards binary serde
commit-id:325d0501
Stack:
This change is