feat(starknet_mempool_p2p): add class manager to propogator#3500
Conversation
|
Benchmark movements: |
5486b68 to
2f6cf19
Compare
38b29f2 to
54a9e74
Compare
2f6cf19 to
3786f9e
Compare
54a9e74 to
ffa9b3e
Compare
|
Benchmark movements: |
ShahakShama
left a comment
There was a problem hiding this comment.
Reviewed 2 of 6 files at r1, 4 of 4 files at r2, all commit messages.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @noamsp-starkware)
crates/starknet_mempool_p2p/src/propagator/mod.rs line 20 at r2 (raw file):
broadcast_topic_client: BroadcastTopicClient<RpcTransactionWrapper>, #[allow(dead_code)] transaction_converter: TransactionConverter,
As I wrote in wg slack, change to _transaction_converter and remove the allow dead code
crates/starknet_mempool_p2p/src/propagator/test.rs line 33 at r2 (raw file):
let BroadcastNetworkMock { mut messages_to_broadcast_receiver, .. } = mock_network; let rpc_transaction = RpcTransaction::get_test_instance(&mut get_rng()); // TODO(noamsp): use MockClassManagerClient
Change the TODO to "use MockTransactionConverterTrait"
crates/starknet_mempool_p2p/src/propagator/test.rs line 53 at r2 (raw file):
let BroadcastNetworkMock { mut continue_propagation_receiver, .. } = mock_network; let propagation_metadata = BroadcastedMessageMetadata::get_test_instance(&mut get_rng()); // TODO(noamsp): use MockClassManagerClient
Same here
3786f9e to
24a9f6a
Compare
ffa9b3e to
541ae00
Compare
noamsp-starkware
left a comment
There was a problem hiding this comment.
Reviewable status: 4 of 6 files reviewed, 3 unresolved discussions (waiting on @ShahakShama)
crates/starknet_mempool_p2p/src/propagator/mod.rs line 20 at r2 (raw file):
Previously, ShahakShama wrote…
As I wrote in wg slack, change to _transaction_converter and remove the allow dead code
Done.
crates/starknet_mempool_p2p/src/propagator/test.rs line 33 at r2 (raw file):
Previously, ShahakShama wrote…
Change the TODO to "use MockTransactionConverterTrait"
Done.
crates/starknet_mempool_p2p/src/propagator/test.rs line 53 at r2 (raw file):
Previously, ShahakShama wrote…
Same here
Done.
ShahakShama
left a comment
There was a problem hiding this comment.
Reviewed 2 of 2 files at r3, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @noamsp-starkware)
ShahakShama
left a comment
There was a problem hiding this comment.
Reviewable status:
complete! all files reviewed, all discussions resolved (waiting on @noamsp-starkware)
24a9f6a to
352a55a
Compare
541ae00 to
a32d284
Compare
… from mempool internal tx
7cf7c0f
into
noam.s/refactor_starknet_gateway_remove_unused_gateway_compiler

No description provided.