feat(starknet_gateway): add class manager client#3497
feat(starknet_gateway): add class manager client#3497noamsp-starkware wants to merge 10 commits intomainfrom
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
ShahakShama
left a comment
There was a problem hiding this comment.
Reviewed 6 of 6 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @noamsp-starkware)
crates/starknet_gateway/bench/utils.rs line 90 at r1 (raw file):
GatewayCompiler::new_command_line_compiler(config.compiler_config.clone()); let mut mempool_client = MockMempoolClient::new(); let class_manager_client = Arc::new(MemoryClassManagerClient::new());
I think you should use EmptyClassManagerClient here. @alonh5 WDYT?
noamsp-starkware
left a comment
There was a problem hiding this comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @alonh5)
crates/starknet_gateway/bench/utils.rs line 90 at r1 (raw file):
Previously, ShahakShama wrote…
I think you should use EmptyClassManagerClient here. @alonh5 WDYT?
I didn't use the Empty variant because this is a test
a0b4c79 to
a85c4ea
Compare
faed35e to
73c53e9
Compare
a85c4ea to
8a1f433
Compare
ShahakShama
left a comment
There was a problem hiding this comment.
Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @alonh5)
crates/starknet_gateway/bench/utils.rs line 90 at r1 (raw file):
Previously, noamsp-starkware wrote…
I didn't use the Empty variant because this is a test
After the discussion with Elin you should change to Empty
8a1f433 to
36492a6
Compare
73c53e9 to
6eb4a91
Compare
noamsp-starkware
left a comment
There was a problem hiding this comment.
Reviewable status: 3 of 6 files reviewed, 1 unresolved discussion (waiting on @alonh5 and @ShahakShama)
crates/starknet_gateway/bench/utils.rs line 90 at r1 (raw file):
Previously, ShahakShama wrote…
After the discussion with Elin you should change to Empty
Done.
36492a6 to
00d7e07
Compare
6eb4a91 to
eba52cb
Compare
ShahakShama
left a comment
There was a problem hiding this comment.
Reviewed 5 of 5 files at r4, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @noamsp-starkware)
crates/starknet_gateway/src/gateway_test.rs line 63 at r4 (raw file):
) -> MockDependencies { let mock_mempool_client = MockMempoolClient::new(); // TODO(noamsp): use MockClassManagerClient
Same here
crates/starknet_gateway/bench/utils.rs line 90 at r4 (raw file):
GatewayCompiler::new_command_line_compiler(config.compiler_config.clone()); let mut mempool_client = MockMempoolClient::new(); // TODO(noamsp): use MockClassManagerClient
Change the TODO to "use MockTransactionConverter"
eba52cb to
6ba0987
Compare
|
Please put it on your name, and ask for help later. Suggestion: // TODO(NoamS): |
6590c16 to
69749db
Compare
534dbda to
bf1d245
Compare
69749db to
f3f6070
Compare
f3f6070 to
8f3af62
Compare
|
Benchmark movements: |
… from mempool internal tx
8f3af62 to
8c34d6b
Compare
ShahakShama
left a comment
There was a problem hiding this comment.
Reviewed 249 of 249 files at r27, 3 of 61 files at r28, 1 of 246 files at r29, 5 of 62 files at r30, 49 of 246 files at r31, 62 of 62 files at r32, 1 of 245 files at r33, 1 of 57 files at r34, 13 of 266 files at r35, 13 of 257 files at r37, 12 of 72 files at r38, 4 of 62 files at r40, 10 of 239 files at r41, 9 of 66 files at r42, 2 of 225 files at r43, 225 of 225 files at r45.
Reviewable status: 75 of 358 files reviewed, 3 unresolved discussions (waiting on @ArniStarkware and @noamsp-starkware)
ShahakShama
left a comment
There was a problem hiding this comment.
Reviewed 1 of 62 files at r46, 5 of 65 files at r56, 2 of 216 files at r57, 1 of 58 files at r58, 8 of 65 files at r60, 7 of 206 files at r61, 60 of 61 files at r62, 199 of 199 files at r63, all commit messages.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @noamsp-starkware)
ShahakShama
left a comment
There was a problem hiding this comment.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @noamsp-starkware)
|
Previously, ArniStarkware (Arnon Hod) wrote…
Non -blocking. |
|
Benchmark movements: |
ShahakShama
left a comment
There was a problem hiding this comment.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @noamsp-starkware)
Pull request was closed
|
merged @ #3656 |

No description provided.