-
Notifications
You must be signed in to change notification settings - Fork 35
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
refactor(papyrus_base_layer): consolidate alloy crates #3999
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
19a0e06
to
da1bd03
Compare
Benchmark movements: |
7c3a974
to
3db5066
Compare
3db5066
to
cbd0e44
Compare
5796360
to
ce33ef7
Compare
cbd0e44
to
75aafa7
Compare
Benchmark movements: |
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 11 of 11 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @alonh5)
crates/starknet_l1_provider/Cargo.toml
line 29 at r1 (raw file):
[dev-dependencies] alloy = { workspace = true, features = ["json-rpc", "node-bindings"] }
Is this needed?
Code quote:
"json-rpc"
+reviewer:@alonh5 |
75aafa7
to
03fb669
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: 6 of 11 files reviewed, 1 unresolved discussion (waiting on @alonh5)
crates/starknet_l1_provider/Cargo.toml
line 29 at r1 (raw file):
Previously, alonh5 (Alon Haramati) wrote…
Is this needed?
No!
- Good job being aware. I just assumed it was needed from Gilad's code.
- Also fixed in other
.toml
file.
crates/papyrus_base_layer/Cargo.toml
line 15 at r2 (raw file):
[dependencies] alloy = { workspace = true, features = ["contract", "json-rpc", "rpc-types"] }
All of these are necessary features (including node-binding
)
Code quote:
[features]
testing = ["alloy/node-bindings", "colored", "tar", "tempfile"]
[dependencies]
alloy = { workspace = true, features = ["contract", "json-rpc", "rpc-types"] }
03fb669
to
f02aa17
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 2 of 5 files at r2, 2 of 2 files at r3, all commit messages.
Reviewable status: 10 of 11 files reviewed, all discussions resolved (waiting on @giladchase)
crates/papyrus_base_layer/Cargo.toml
line 15 at r2 (raw file):
Previously, ArniStarkware (Arnon Hod) wrote…
All of these are necessary features (including
node-binding
)
Great! How did you check which were needed and which weren't?
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 5 files at r2.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @giladchase)
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:
complete! all files reviewed, all discussions resolved (waiting on @giladchase)
crates/papyrus_base_layer/Cargo.toml
line 15 at r2 (raw file):
Previously, alonh5 (Alon Haramati) wrote…
Great! How did you check which were needed and which weren't?
I turned them all off, then added them according to the error messages, one by one.
Use alloy + features instead of individual crates to consolidate
versioning.
There are no logic changes, only import changes.
Warning: Alloy has tons of features; don't activate features greedily; otherwise, our compilation time will suffer.