-
Notifications
You must be signed in to change notification settings - Fork 38
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
feat(blockifier): add config- allowlist of contracts to compile natively #4552
Conversation
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Artifacts upload workflows: |
e742340
to
c07fc80
Compare
b47b6c5
to
b9fadaa
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: 0 of 5 files reviewed, 1 unresolved discussion
crates/blockifier/src/blockifier/config.rs
line 190 at r1 (raw file):
ParamPrivacyInput::Public, )]); dump
I am unsure about this change - whether ser_optional_param
is preferable here.
I am especially concerned about not being able to differentiate while looking at the config JSON between an empty list and None
Code quote:
dump.extend([ser_param(
"contract_to_compile_natively",
&serialize_optional_vec_class_hash(&self.contract_to_compile_natively),
"Contracts to compile natively (None means all).",
ParamPrivacyInput::Public,
)]);
dump
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 5 files at r1, all commit messages.
Reviewable status: 4 of 5 files reviewed, 1 unresolved discussion (waiting on @AvivYossef-starkware and @noaov1)
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 r2.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @AvivYossef-starkware and @noaov1)
5615d50
to
c9a99a5
Compare
b9fadaa
to
09f6611
Compare
No description provided.