Skip to content

Commit

Permalink
fix conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
toni-calvin committed Nov 9, 2023
1 parent b405d95 commit 5e73400
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ 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/"
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 }
Expand Down
4 changes: 2 additions & 2 deletions cairo1-run/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ fn run(args: impl Iterator<Item = String>) -> Result<Vec<MaybeRelocatable>, 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!(
Expand Down Expand Up @@ -537,7 +537,7 @@ fn create_metadata(
metadata_config: Option<MetadataComputationConfig>,
) -> Result<Metadata, VirtualMachineError> {
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,
})
Expand Down

0 comments on commit 5e73400

Please sign in to comment.