-
Notifications
You must be signed in to change notification settings - Fork 28
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(blockifier): add feild channel_size to contract_class_manager_config #2902
base: main-v0.13.4
Are you sure you want to change the base?
chore(blockifier): add feild channel_size to contract_class_manager_config #2902
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
7868dcc
to
7da8920
Compare
Suggestion: pub const DEFAULT_COMPILATION_REQUEST_CHANNEL_SIZE: usize = 1000; |
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 4 of 4 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @avivg-starkware and @noaov1)
9c10bca
to
0adfb8c
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: 1 of 4 files reviewed, 1 unresolved discussion (waiting on @avi-starkware and @noaov1)
crates/blockifier/src/state/contract_class_manager.rs
line 31 at r1 (raw file):
use crate::state::global_cache::{CachedCasm, ContractCaches}; pub const CHANNEL_SIZE: usize = 1000;
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 3 of 3 files at r2, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @avi-starkware and @avivg-starkware)
crates/blockifier/src/state/contract_class_manager.rs
line 96 at r2 (raw file):
} let (sender, receiver) = sync_channel(DEFAULT_COMPILATION_REQUEST_CHANNEL_SIZE);
Suggestion:
let (sender, receiver) = sync_channel(config.channel_size);
0adfb8c
to
e39a328
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: 3 of 4 files reviewed, 2 unresolved discussions (waiting on @avi-starkware and @noaov1)
crates/blockifier/src/state/contract_class_manager.rs
line 96 at r2 (raw file):
} let (sender, receiver) = sync_channel(DEFAULT_COMPILATION_REQUEST_CHANNEL_SIZE);
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 1 of 1 files at r3, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @avivg-starkware and @noaov1)
crates/blockifier/src/state/contract_class_manager.rs
line 129 at r3 (raw file):
"Compilation request channel is full (size: {}). Compilation request for \ class hash {} was not sent.", DEFAULT_COMPILATION_REQUEST_CHANNEL_SIZE,
Suggestion:
self.config.channel_size
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 1 of 1 files at r3, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @avivg-starkware)
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.
Please rebase over main-13.4
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @avivg-starkware)
e39a328
to
19dab86
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.
Done
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @avi-starkware)
crates/blockifier/src/state/contract_class_manager.rs
line 129 at r3 (raw file):
"Compilation request channel is full (size: {}). Compilation request for \ class hash {} was not sent.", DEFAULT_COMPILATION_REQUEST_CHANNEL_SIZE,
Done.
19dab86
to
87a8788
Compare
87a8788
to
b7e2924
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.
Reviewed 1 of 1 files at r4, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @avi-starkware)
No description provided.