-
Notifications
You must be signed in to change notification settings - Fork 65
apollo_http_server: use allow new tx flag #11454
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
apollo_http_server: use allow new tx flag #11454
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
fe7f585 to
29d7228
Compare
d6cc504 to
3b2bef9
Compare
29d7228 to
c2209af
Compare
5894408 to
a3b80dd
Compare
8378c4d to
5de8b59
Compare
2d34ba3 to
5906d70
Compare
5de8b59 to
2a47106
Compare
2a47106 to
8b82acc
Compare
5906d70 to
3f30784
Compare
8b82acc to
29a59cc
Compare
3f30784 to
f8aa1a5
Compare
29a59cc to
3da12bf
Compare
f8aa1a5 to
4a7a609
Compare
matanl-starkware
left a comment
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.
@matanl-starkware made 2 comments.
Reviewable status: 0 of 5 files reviewed, 2 unresolved discussions (waiting on @Itay-Tsabary-Starkware).
crates/apollo_http_server/src/http_server_test.rs line 108 at r1 (raw file):
let response = http_client.add_tx(tx.clone()).await; let status = response.status(); assert!(!status.is_success(), "{status:?}");
Please verify the return code is 503 (and not some other error that might have happened during add_tx)
Code quote:
assert!(!status.is_success(), "{status:?}");crates/apollo_http_server/src/http_server.rs line 106 at r1 (raw file):
.route( "/gateway/is_ready", get(|| futures::future::ready("Gateway is ready".to_owned()))
Consider modifying this to be unready...
(Probably requires a shared dynamic config, as suggested in previous PR)
Code quote:
get(|| futures::future::ready("Gateway is ready".to_owned()))3da12bf to
900bac1
Compare
4a7a609 to
ba6d4d8
Compare
Itay-Tsabary-Starkware
left a comment
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.
@Itay-Tsabary-Starkware made 2 comments.
Reviewable status: 0 of 5 files reviewed, 2 unresolved discussions (waiting on @matanl-starkware).
crates/apollo_http_server/src/http_server.rs line 106 at r1 (raw file):
Previously, matanl-starkware (Matan Lior) wrote…
Consider modifying this to be unready...
(Probably requires a shared dynamic config, as suggested in previous PR)
These are about to be deprecated, please see the comment above. I'm not sure of the result of such change anyway, will this make the simulator crash?
I'm ok with it sending txs and being blocked applicatively rather than by its healthcheck.
crates/apollo_http_server/src/http_server_test.rs line 108 at r1 (raw file):
Previously, matanl-starkware (Matan Lior) wrote…
Please verify the return code is 503 (and not some other error that might have happened during add_tx)
Done
matanl-starkware
left a comment
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.
@matanl-starkware reviewed 5 files and all commit messages, and resolved 2 discussions.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @Itay-Tsabary-Starkware).
900bac1 to
4cd4f39
Compare
4cd4f39 to
ad4469b
Compare
ad4469b to
0e82344
Compare
0e82344 to
ad4469b
Compare
ad4469b to
cd54d4c
Compare

No description provided.