apollo_committer: add request_paths_and_commit_block tests#14208
Conversation
e720964 to
9c253a8
Compare
PR SummaryLow Risk Overview The happy-path test commits a block with
Reviewed by Cursor Bugbot for commit 91077f1. Bugbot is set up for automated code reviews on this repo. Configure here. |
9c253a8 to
8a3d6fb
Compare
0a150fa to
dcafcad
Compare
8a3d6fb to
b0c6beb
Compare
dcafcad to
10d77f4
Compare
b0c6beb to
b87f87a
Compare
10d77f4 to
bcf65f0
Compare
dc8b161 to
83d5cd7
Compare
00aaf1a to
74fccf6
Compare
dorimedini-starkware
left a comment
There was a problem hiding this comment.
@dorimedini-starkware reviewed 5 files and all commit messages, made 1 comment, and resolved 6 discussions.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on ArielElp).
crates/starknet_committer/src/db/index_db/db.rs line 504 at r8 (raw file):
Previously, ArielElp wrote…
I don't follow, let me add some context:
This test util is only used to verify that when we're re-sending the same request to the committer, it does not recompute. Ideally, this would have been done with nice mock libs, but I need too much of the real implementation to make it work. To overcome this, I'm simply removing all the trie data from the storage (keeping only metadata). If the request succeeds, then it clearly did not recompute.
can't this be a util in the test module though?
83d5cd7 to
e1435cb
Compare
41082ca to
651ab0e
Compare
e1435cb to
6340321
Compare
ArielElp
left a comment
There was a problem hiding this comment.
@ArielElp made 1 comment.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on dorimedini-starkware).
crates/starknet_committer/src/db/index_db/db.rs line 504 at r8 (raw file):
Previously, dorimedini-starkware wrote…
can't this be a util in the test module though?
Nope, I need access to the underlying storage which the committer does not see
dorimedini-starkware
left a comment
There was a problem hiding this comment.
@dorimedini-starkware resolved 1 discussion.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on ArielElp).
651ab0e to
efb1efd
Compare
6340321 to
c96290d
Compare
efb1efd to
1a70b65
Compare
dorimedini-starkware
left a comment
There was a problem hiding this comment.
@dorimedini-starkware reviewed 2 files and all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on ArielElp).
ArielElp
left a comment
There was a problem hiding this comment.
@ArielElp reviewed 4 files and all commit messages, and resolved 1 discussion.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on ArielElp).
Merge activity
|
dorimedini-starkware
left a comment
There was a problem hiding this comment.
Reviewable status:
complete! all files reviewed, all discussions resolved (waiting on ArielElp).
1a70b65 to
ccf5b85
Compare
c96290d to
39fe75d
Compare
ccf5b85 to
91077f1
Compare
dorimedini-starkware
left a comment
There was a problem hiding this comment.
@dorimedini-starkware reviewed 1 file and all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on ArielElp).

No description provided.