diff --git a/Cargo.lock b/Cargo.lock index 0ee466e4d7..f02ce88651 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -286,7 +286,7 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "cairo-felt" -version = "0.8.2" +version = "0.8.7" dependencies = [ "arbitrary", "lambdaworks-math", @@ -609,7 +609,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da74c7c4a2df66b961a982396e0f5221d6594266aed48c76d8c22d5b0d96af5d" dependencies = [ "assert_matches", - "cairo-felt 0.8.7", + "cairo-felt 0.8.7 (registry+https://github.com/rust-lang/crates.io-index)", "cairo-lang-casm", "cairo-lang-sierra", "cairo-lang-sierra-ap-change", @@ -640,7 +640,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9217e979f11980609d13d3a5adea8438ec9345709ddfebca975cc9cd1f85201e" dependencies = [ "anyhow", - "cairo-felt 0.8.7", + "cairo-felt 0.8.7 (registry+https://github.com/rust-lang/crates.io-index)", "cairo-lang-casm", "cairo-lang-compiler", "cairo-lang-defs", @@ -712,7 +712,7 @@ dependencies = [ [[package]] name = "cairo-vm" -version = "0.8.2" +version = "0.8.7" dependencies = [ "anyhow", "arbitrary", @@ -721,7 +721,7 @@ dependencies = [ "assert_matches", "bincode", "bitvec", - "cairo-felt 0.8.2", + "cairo-felt 0.8.7", "cairo-lang-casm", "cairo-lang-starknet", "criterion", @@ -751,7 +751,7 @@ dependencies = [ [[package]] name = "cairo-vm-cli" -version = "0.8.2" +version = "0.8.7" dependencies = [ "assert_matches", "bincode", @@ -765,7 +765,7 @@ dependencies = [ [[package]] name = "cairo1-run" -version = "0.8.2" +version = "0.8.7" dependencies = [ "assert_matches", "bincode", @@ -1394,7 +1394,7 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hint_accountant" -version = "0.8.2" +version = "0.8.7" dependencies = [ "cairo-vm", "serde", @@ -2865,7 +2865,7 @@ dependencies = [ [[package]] name = "wasm-demo" -version = "0.8.2" +version = "0.8.7" dependencies = [ "cairo-vm", "console_error_panic_hook", diff --git a/Cargo.toml b/Cargo.toml index 7153824b6a..c6c409562f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ exclude = ["ensure-no_std"] resolver = "2" [workspace.package] -version = "0.8.2" +version = "0.8.7" edition = "2021" license = "Apache-2.0" repository = "https://github.com/lambdaclass/cairo-vm/" @@ -23,7 +23,7 @@ readme = "README.md" keywords = ["starknet", "cairo", "vm", "wasm", "no_std"] [workspace.dependencies] -felt = { package = "cairo-felt", path = "./felt", version = "0.8.2", default-features = false, features = [ +felt = { package = "cairo-felt", path = "./felt", version = "0.8.7", default-features = false, features = [ "alloc", ] } cairo-vm = { path = "./vm", version = "0.8.2", default-features = false } diff --git a/cairo1-run/src/main.rs b/cairo1-run/src/main.rs index 24632000b7..ce711ca554 100644 --- a/cairo1-run/src/main.rs +++ b/cairo1-run/src/main.rs @@ -202,7 +202,7 @@ fn run(args: impl Iterator) -> Result, Erro let footer = create_code_footer(); let check_gas_usage = true; - let metadata = calc_metadata(&sierra_program, Default::default())?; + let metadata = calc_metadata(&sierra_program, Default::default(), false)?; let casm_program = compile(&sierra_program, &metadata, check_gas_usage)?; let instructions = chain!( @@ -537,7 +537,7 @@ fn create_metadata( metadata_config: Option, ) -> Result { if let Some(metadata_config) = metadata_config { - calc_metadata(sierra_program, metadata_config).map_err(|err| match err { + calc_metadata(sierra_program, metadata_config, false).map_err(|err| match err { MetadataError::ApChangeError(_) => VirtualMachineError::Unexpected, MetadataError::CostError(_) => VirtualMachineError::Unexpected, })