Skip to content
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

Update blockifier #2397

Open
wants to merge 38 commits into
base: main
Choose a base branch
from
Open

Conversation

AnkushinDaniil
Copy link
Contributor

This pull request includes several changes to the vm module, primarily focusing on extending the class information in vm/class.go, updating dependencies in Cargo.toml.

Class Information Extension:

  • Updated the marshalClassInfo function in vm/class.go to include ClassVersion and SierraVersion fields for both Cairo0Class and CompiledClass. [1] [2]

Dependency Updates:

  • Updated dependencies in vm/rust/Cargo.toml to newer versions, including blockifier, cairo-lang-starknet-classes, cairo-lang-runner, starknet_api, and starknet-types-core.

@AnkushinDaniil AnkushinDaniil added VM dependencies Pull requests that update a dependency file go Pull requests that update Go code rust Pull requests that update Rust code labels Jan 24, 2025
Copy link

codecov bot commented Jan 24, 2025

Codecov Report

Attention: Patch coverage is 77.40586% with 54 lines in your changes missing coverage. Please review.

Project coverage is 73.27%. Comparing base (668c093) to head (ef7f534).

Files with missing lines Patch % Lines
rpc/v7/trace.go 61.81% 17 Missing and 4 partials ⚠️
rpc/v8/trace.go 73.80% 9 Missing and 2 partials ⚠️
rpc/v7/simulation.go 41.66% 7 Missing ⚠️
rpc/v6/simulation.go 50.00% 4 Missing ⚠️
rpc/v6/trace.go 55.55% 4 Missing ⚠️
node/throttled_vm.go 50.00% 2 Missing and 1 partial ⚠️
rpc/v8/simulation.go 96.90% 2 Missing and 1 partial ⚠️
rpc/v6/handlers.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2397      +/-   ##
==========================================
+ Coverage   73.13%   73.27%   +0.14%     
==========================================
  Files         142      142              
  Lines       17095    17211     +116     
==========================================
+ Hits        12503    12612     +109     
- Misses       3718     3719       +1     
- Partials      874      880       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

vm/rust/src/lib.rs Outdated Show resolved Hide resolved
vm/rust/src/lib.rs Outdated Show resolved Hide resolved
vm/rust/src/lib.rs Outdated Show resolved Hide resolved
vm/rust/src/lib.rs Outdated Show resolved Hide resolved
vm/rust/src/lib.rs Outdated Show resolved Hide resolved
vm/rust/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@rodrigo-pino rodrigo-pino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First round of review. Will do another pass later. Overall, everything looks good to me.

vm/rust/resources/versioned_constants_0_13_0.json Outdated Show resolved Hide resolved
vm/rust/resources/versioned_constants_0_13_2.json Outdated Show resolved Hide resolved
vm/rust/src/juno_state_reader.rs Outdated Show resolved Hide resolved
vm/rust/src/juno_state_reader.rs Show resolved Hide resolved
vm/rust/src/lib.rs Outdated Show resolved Hide resolved
vm/vm_bridge.h Outdated Show resolved Hide resolved
@AnkushinDaniil AnkushinDaniil force-pushed the daniil/update-blockifier-0.13.4 branch 3 times, most recently from bcbc529 to ee0a9a3 Compare January 31, 2025 12:40
@rianhughes
Copy link
Contributor

Up to the above comments the PR ltgm

rpc/simulation.go Outdated Show resolved Hide resolved
mocks/mock_vm.go Outdated Show resolved Hide resolved
rpc/simulation_pkg_test.go Outdated Show resolved Hide resolved
vm/vm_ffi.h Outdated Show resolved Hide resolved
vm/vm.go Outdated Show resolved Hide resolved
rpc/simulation_pkg_test.go Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code high priority rust Pull requests that update Rust code VM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants