Skip to content

Commit

Permalink
chore: bump compiler to 2.7.0 and vm to 1.0.0-rc6
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoni-Starkware committed Aug 4, 2024
1 parent 8844718 commit 63d9cd3
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 64 deletions.
112 changes: 56 additions & 56 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ byteorder = "1.4.3"
bytes = "1"
cached = "0.44.0"
cairo-felt = "0.9.1"
cairo-lang-casm = "2.7.0-rc.3"
cairo-lang-runner = "2.7.0-rc.3"
cairo-lang-sierra = "=2.7.0-rc.3"
cairo-lang-starknet-classes = "2.7.0-rc.3"
cairo-lang-utils = "2.7.0-rc.3"
cairo-vm = "=1.0.0-rc5"
cairo-lang-casm = "2.7.0"
cairo-lang-runner = "2.7.0"
cairo-lang-sierra = "=2.7.0"
cairo-lang-starknet-classes = "2.7.0"
cairo-lang-utils = "2.7.0"
cairo-vm = "=1.0.0-rc6"
camelpaste = "0.1.0"
chrono = "0.4.26"
clap = "4.3.10"
Expand Down
2 changes: 1 addition & 1 deletion crates/blockifier/src/execution/entry_point_execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ fn register_visited_pcs(
// after it.
// TODO(lior): Avoid unnecessary relocation once the VM has a non-relocated `get_trace()`
// function.
runner.relocate_trace(&[1, 1 + program_segment_size].into())?;
runner.relocate_trace(&[1, 1 + program_segment_size])?;
for trace_entry in runner.relocated_trace.as_ref().expect("Relocated trace not found") {
let pc = trace_entry.pc;
if pc < 1 {
Expand Down
2 changes: 1 addition & 1 deletion crates/blockifier/src/execution/syscalls/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ impl<T: SyscallResponse> SyscallResponse for SyscallResponseWrapper<T> {
let revert_reason_start = vm.add_memory_segment();
let revert_reason_end = vm.load_data(
revert_reason_start,
&error_data.into_iter().map(Into::into).collect(),
&error_data.into_iter().map(Into::into).collect::<Vec<MaybeRelocatable>>(),
)?;

// Write the start and end pointers of the error data.
Expand Down

0 comments on commit 63d9cd3

Please sign in to comment.