-
Notifications
You must be signed in to change notification settings - Fork 229
Bump blockifier to 0.14.0 #3416
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
base: master
Are you sure you want to change the base?
Conversation
…s/starknet-foundry into 3174-blockifier-0.14.0
… into 3174-blockifier-0.14.0
This reverts commit 96e49ed.
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.
Looks good
if err_str.contains("error sending request for url") { | ||
if err_str.contains("error sending request") { |
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.
We mostly throw these errors from ForkStateReader
, I think it's unlikely it's coming from blockifier itself, it's not making any requests to the network.
It might be from reqwest or some other network related package maybe?
@@ -29,22 +29,22 @@ license = "MIT" | |||
license-file = "LICENSE" | |||
|
|||
[workspace.dependencies] | |||
blockifier = { git = "https://github.com/software-mansion-labs/sequencer.git", branch = "main-v0.13.5-modified-sierra-dep", default-features = false, features = ["testing", "tracing"] } | |||
blockifier = { git = "https://github.com/starkware-libs/sequencer.git", branch = "main-v0.14.0", default-features = false, features = ["testing", "tracing"] } |
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.
Supposedly there has been an RC crates release for blockifier but it's quite old at this point. We should probably still track a branch and monitor releases.
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.
Yup, it's quite old.
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.
Let's upgrade it once there's something not rc released.
let syscall_gas_cost = syscall_gas_costs | ||
.get_syscall_gas_cost(selector) | ||
.expect("Failed to get syscall gas cost"); |
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.
Let's both improve the error and test it with maat eventually.
core::pedersen::pedersen(1, 2); | ||
core::pedersen::pedersen(1, 2); | ||
core::pedersen::pedersen(1, 2); | ||
core::pedersen::pedersen(1, 2); | ||
core::pedersen::pedersen(1, 2); | ||
core::pedersen::pedersen(1, 2); | ||
core::pedersen::pedersen(1, 2); | ||
core::pedersen::pedersen(1, 2); | ||
core::pedersen::pedersen(1, 2); | ||
core::pedersen::pedersen(1, 2); | ||
core::pedersen::pedersen(1, 2); | ||
core::pedersen::pedersen(1, 2); |
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.
Did you link the correct comment? How are deprecated syscalls related to this?
) -> ProfilerDeprecatedSyscallSelector { | ||
match value { | ||
DeprecatedSyscallSelector::CallContract => ProfilerDeprecatedSyscallSelector::CallContract, | ||
DeprecatedSyscallSelector::DelegateCall => ProfilerDeprecatedSyscallSelector::DelegateCall, | ||
DeprecatedSyscallSelector::DelegateL1Handler => { | ||
ProfilerDeprecatedSyscallSelector::DelegateL1Handler | ||
} | ||
DeprecatedSyscallSelector::Deploy => ProfilerDeprecatedSyscallSelector::Deploy, | ||
DeprecatedSyscallSelector::Deploy | DeprecatedSyscallSelector::MetaTxV0 => { |
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.
Maybe let's add a separate arm for MetaTxV0
with a TODO 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.
Actually, I've added it as a variant of ProfilerDeprecatedSyscallSelector
in cairo-aoontations
, so should be fine now.
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.
Didn't
@@ -29,22 +29,22 @@ license = "MIT" | |||
license-file = "LICENSE" | |||
|
|||
[workspace.dependencies] | |||
blockifier = { git = "https://github.com/software-mansion-labs/sequencer.git", branch = "main-v0.13.5-modified-sierra-dep", default-features = false, features = ["testing", "tracing"] } | |||
blockifier = { git = "https://github.com/starkware-libs/sequencer.git", branch = "main-v0.14.0", default-features = false, features = ["testing", "tracing"] } |
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.
Let's upgrade it once there's something not rc released.
core::pedersen::pedersen(1, 2); | ||
core::pedersen::pedersen(1, 2); | ||
core::pedersen::pedersen(1, 2); | ||
core::pedersen::pedersen(1, 2); | ||
core::pedersen::pedersen(1, 2); | ||
core::pedersen::pedersen(1, 2); | ||
core::pedersen::pedersen(1, 2); | ||
core::pedersen::pedersen(1, 2); | ||
core::pedersen::pedersen(1, 2); | ||
core::pedersen::pedersen(1, 2); | ||
core::pedersen::pedersen(1, 2); | ||
core::pedersen::pedersen(1, 2); |
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.
Right, make sense. Steps are more expensive without these much repetitions of pedersen
?
gas_consumed: u64, | ||
) -> ProfilerExecutionResources { | ||
let mut profiler_syscall_counter = HashMap::new(); |
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 don't delete this it will be used in #3472
Towards #3174
Stack:
CallEntryPoint.into_executable()
#3417Introduced changes
Bump blockifier to v0.14.0
Checklist
CHANGELOG.md