From 0e530cfe86f87a532be30a02f4353d010e47e458 Mon Sep 17 00:00:00 2001 From: kevaundray Date: Mon, 30 Oct 2023 13:55:49 +0000 Subject: [PATCH] feat!: Add semver checks for the compiler version in Nargo.toml (#3336) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: guipublic Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com> Co-authored-by: kek kek kek Co-authored-by: guipublic <47281315+guipublic@users.noreply.github.com> Co-authored-by: José Pedro Sousa --- Cargo.lock | 5 +- .../circuits/main/Nargo.toml | 2 - .../circuits/recursion/Nargo.toml | 2 - compiler/wasm/fixtures/deps/lib-a/Nargo.toml | 1 - compiler/wasm/fixtures/deps/lib-b/Nargo.toml | 1 - .../wasm/fixtures/deps/noir-script/Nargo.toml | 1 - .../fixtures/simple/noir-script/Nargo.toml | 1 - docs/docs/getting_started/02_breakdown.md | 2 +- docs/docs/migration_notes.md | 8 + noir_stdlib/Nargo.toml | 2 - tooling/lsp/src/notifications/mod.rs | 8 +- tooling/lsp/src/requests/code_lens_request.rs | 16 +- tooling/lsp/src/requests/test_run.rs | 17 +- tooling/lsp/src/requests/tests.rs | 16 +- tooling/nargo/src/package.rs | 2 + tooling/nargo_cli/src/cli/check_cmd.rs | 10 +- .../nargo_cli/src/cli/codegen_verifier_cmd.rs | 8 +- tooling/nargo_cli/src/cli/compile_cmd.rs | 7 +- tooling/nargo_cli/src/cli/debug_cmd.rs | 8 +- tooling/nargo_cli/src/cli/execute_cmd.rs | 8 +- tooling/nargo_cli/src/cli/fmt_cmd.rs | 7 +- tooling/nargo_cli/src/cli/info_cmd.rs | 10 +- tooling/nargo_cli/src/cli/init_cmd.rs | 2 +- tooling/nargo_cli/src/cli/prove_cmd.rs | 8 +- tooling/nargo_cli/src/cli/test_cmd.rs | 8 +- tooling/nargo_cli/src/cli/verify_cmd.rs | 8 +- .../assert_constant_fail/Nargo.toml | 2 - .../assert_eq_struct/Nargo.toml | 2 - .../brillig_assert_fail/Nargo.toml | 1 - .../compile_failure/constrain_typo/Nargo.toml | 1 - .../custom_entry_not_found/Nargo.toml | 1 - .../dep_impl_primitive/Nargo.toml | 2 - .../compile_failure/depend_on_bin/Nargo.toml | 2 - .../div_by_zero_constants/Nargo.toml | 1 - .../div_by_zero_modulo/Nargo.toml | 1 - .../div_by_zero_numerator_witness/Nargo.toml | 1 - .../div_by_zero_witness/Nargo.toml | 1 - .../dup_trait_implementation_4/Nargo.toml | 1 - .../dup_trait_implementation_5/Nargo.toml | 1 - .../dup_trait_items_1/Nargo.toml | 2 - .../dup_trait_items_2/Nargo.toml | 2 - .../dup_trait_items_3/Nargo.toml | 2 - .../dup_trait_items_4/Nargo.toml | 2 - .../dup_trait_items_5/Nargo.toml | 2 - .../dup_trait_items_6/Nargo.toml | 2 - .../duplicate_declaration/Nargo.toml | 1 - .../dyn_index_fail_nested_array/Nargo.toml | 1 - .../dynamic_index_failure/Nargo.toml | 1 - .../compile_failure/field_modulo/Nargo.toml | 2 - .../integer_literal_overflow/Nargo.toml | 2 - .../invalid_dependency_name/Nargo.toml | 2 - .../multiple_contracts/Nargo.toml | 2 - .../Nargo.toml | 2 - .../mutability_regression_2911/Nargo.toml | 2 - .../orphaned_trait_impl/Nargo.toml | 2 - .../orphaned_trait_impl/crate1/Nargo.toml | 2 - .../orphaned_trait_impl/crate2/Nargo.toml | 2 - .../overflowing_assignment/Nargo.toml | 2 - .../overlapping_generic_impls/Nargo.toml | 2 - .../package_name_empty/Nargo.toml | 2 - .../package_name_hyphen/Nargo.toml | 2 - .../primary_attribute_struct/Nargo.toml | 1 - .../radix_non_constant_length/Nargo.toml | 1 - .../slice_access_failure/Nargo.toml | 1 - .../slice_insert_failure/Nargo.toml | 2 - .../slice_remove_failure/Nargo.toml | 2 - .../workspace_fail/crates/a/Nargo.toml | 2 - .../workspace_fail/crates/b/Nargo.toml | 2 - .../crates/b/Nargo.toml | 2 - .../contract_with_impl/Nargo.toml | 1 - .../non_entry_point_method/Nargo.toml | 1 - .../simple_contract/Nargo.toml | 1 - .../attributes_multiple/Nargo.toml | 1 - .../attributes_struct/Nargo.toml | 1 - .../auto_deref/Nargo.toml | 2 - .../brillig_cast/Nargo.toml | 1 - .../Nargo.toml | 1 - .../Nargo.toml | 1 - .../brillig_modulo/Nargo.toml | 1 - .../brillig_to_bits/Nargo.toml | 2 - .../closure_explicit_types/Nargo.toml | 1 - .../comptime_recursion_regression/Nargo.toml | 1 - .../comptime_sort/Nargo.toml | 2 - .../conditional_regression_547/Nargo.toml | 1 - .../conditional_regression_579/Nargo.toml | 1 - .../conditional_regression_to_bits/Nargo.toml | 1 - .../ec_baby_jubjub/Nargo.toml | 1 - .../generators/Nargo.toml | 1 - .../higher_order_fn_selector/Nargo.toml | 2 - .../impl_with_where_clause/Nargo.toml | 1 - .../inner_outer_cl/Nargo.toml | 1 - .../instruction_deduplication/Nargo.toml | 2 - .../intrinsic_die/Nargo.toml | 2 - .../compile_success_empty/let_stmt/Nargo.toml | 2 - .../main_return/Nargo.toml | 1 - .../numeric_generics/Nargo.toml | 1 - .../compile_success_empty/option/Nargo.toml | 2 - .../references_aliasing/Nargo.toml | 1 - .../regression_2099/Nargo.toml | 2 - .../ret_fn_ret_cl/Nargo.toml | 1 - .../simple_array_param/Nargo.toml | 2 - .../simple_program_no_body/Nargo.toml | 1 - .../simple_range/Nargo.toml | 1 - .../specialization/Nargo.toml | 2 - .../str_as_bytes/Nargo.toml | 2 - .../compile_success_empty/to_bits/Nargo.toml | 2 - .../Nargo.toml | 2 - .../Nargo.toml | 2 - .../trait_default_implementation/Nargo.toml | 1 - .../trait_function_calls/Nargo.toml | 2 - .../trait_generics/Nargo.toml | 1 - .../trait_multi_module_test/Nargo.toml | 1 - .../trait_override_implementation/Nargo.toml | 1 - .../trait_self/Nargo.toml | 1 - .../trait_self/trait_self/Nargo.toml | 1 - .../trait_where_clause/Nargo.toml | 1 - .../compile_success_empty/traits/Nargo.toml | 1 - .../unary_operators/Nargo.toml | 1 - .../unconstrained_empty/Nargo.toml | 2 - .../compile_success_empty/unit/Nargo.toml | 1 - .../unused_variables/Nargo.toml | 1 - .../compile_success_empty/vectors/Nargo.toml | 1 - .../1327_concrete_in_generic/Nargo.toml | 2 - .../tests/execution_success/1_mul/Nargo.toml | 1 - .../tests/execution_success/2_div/Nargo.toml | 1 - .../tests/execution_success/3_add/Nargo.toml | 1 - .../tests/execution_success/4_sub/Nargo.toml | 1 - .../tests/execution_success/5_over/Nargo.toml | 1 - .../tests/execution_success/6/Nargo.toml | 1 - .../execution_success/6_array/Nargo.toml | 1 - .../tests/execution_success/7/Nargo.toml | 1 - .../execution_success/7_function/Nargo.toml | 1 - .../arithmetic_binary_operations/Nargo.toml | 1 - .../array_dynamic/Nargo.toml | 1 - .../execution_success/array_eq/Nargo.toml | 1 - .../execution_success/array_len/Nargo.toml | 1 - .../execution_success/array_neq/Nargo.toml | 1 - .../execution_success/array_sort/Nargo.toml | 2 - .../tests/execution_success/assert/Nargo.toml | 1 - .../assert_statement/Nargo.toml | 1 - .../execution_success/assign_ex/Nargo.toml | 1 - .../execution_success/bit_and/Nargo.toml | 1 - .../bit_shifts_comptime/Nargo.toml | 1 - .../bit_shifts_runtime/Nargo.toml | 1 - .../execution_success/bool_not/Nargo.toml | 1 - .../execution_success/bool_or/Nargo.toml | 1 - .../brillig_acir_as_brillig/Nargo.toml | 1 - .../brillig_arrays/Nargo.toml | 1 - .../brillig_assert/Nargo.toml | 1 - .../brillig_blake2s/Nargo.toml | 1 - .../brillig_calls/Nargo.toml | 1 - .../brillig_calls_array/Nargo.toml | 1 - .../brillig_calls_conditionals/Nargo.toml | 1 - .../brillig_conditional/Nargo.toml | 1 - .../brillig_ecdsa/Nargo.toml | 1 - .../brillig_fns_as_values/Nargo.toml | 1 - .../brillig_hash_to_field/Nargo.toml | 1 - .../brillig_identity_function/Nargo.toml | 1 - .../brillig_keccak/Nargo.toml | 1 - .../execution_success/brillig_loop/Nargo.toml | 1 - .../brillig_nested_arrays/Nargo.toml | 2 - .../brillig_nested_slices/Nargo.toml | 2 - .../execution_success/brillig_not/Nargo.toml | 1 - .../brillig_oracle/Nargo.toml | 1 - .../brillig_pedersen/Nargo.toml | 1 - .../brillig_recursion/Nargo.toml | 1 - .../brillig_references/Nargo.toml | 1 - .../brillig_scalar_mul/Nargo.toml | 1 - .../brillig_schnorr/Nargo.toml | 1 - .../brillig_sha256/Nargo.toml | 1 - .../brillig_slices/Nargo.toml | 2 - .../brillig_to_be_bytes/Nargo.toml | 1 - .../brillig_to_bytes_integration/Nargo.toml | 1 - .../brillig_to_le_bytes/Nargo.toml | 1 - .../brillig_top_level/Nargo.toml | 1 - .../brillig_unitialised_arrays/Nargo.toml | 1 - .../execution_success/cast_bool/Nargo.toml | 1 - .../closures_mut_ref/Nargo.toml | 2 - .../conditional_1/Nargo.toml | 1 - .../conditional_2/Nargo.toml | 1 - .../conditional_regression_421/Nargo.toml | 1 - .../conditional_regression_661/Nargo.toml | 1 - .../Nargo.toml | 1 - .../execution_success/custom_entry/Nargo.toml | 1 - .../execution_success/debug_logs/Nargo.toml | 2 - .../diamond_deps_0/Nargo.toml | 1 - .../distinct_keyword/Nargo.toml | 1 - .../double_verify_proof/Nargo.toml | 2 - .../ecdsa_secp256k1/Nargo.toml | 1 - .../ecdsa_secp256r1/Nargo.toml | 1 - .../tests/execution_success/eddsa/Nargo.toml | 1 - .../field_attribute/Nargo.toml | 1 - .../execution_success/generics/Nargo.toml | 1 - .../global_consts/Nargo.toml | 1 - .../hash_to_field/Nargo.toml | 1 - .../higher_order_functions/Nargo.toml | 1 - .../if_else_chain/Nargo.toml | 1 - .../tests/execution_success/import/Nargo.toml | 1 - .../integer_array_indexing/Nargo.toml | 1 - .../execution_success/keccak256/Nargo.toml | 1 - .../main_bool_arg/Nargo.toml | 1 - .../merkle_insert/Nargo.toml | 1 - .../execution_success/mock_oracle/Nargo.toml | 1 - .../execution_success/modules/Nargo.toml | 1 - .../execution_success/modules_more/Nargo.toml | 1 - .../execution_success/modulus/Nargo.toml | 1 - .../nested_array_dynamic/Nargo.toml | 1 - .../nested_arrays_from_brillig/Nargo.toml | 2 - .../nested_slice_dynamic/Nargo.toml | 2 - .../pedersen_check/Nargo.toml | 1 - .../poseidon_bn254_hash/Nargo.toml | 1 - .../poseidonsponge_x5_254/Nargo.toml | 1 - .../execution_success/pred_eq/Nargo.toml | 1 - .../execution_success/references/Nargo.toml | 1 - .../execution_success/regression/Nargo.toml | 1 - .../regression_2854/Nargo.toml | 1 - .../regression_mem_op_predicate/Nargo.toml | 1 - .../Nargo.toml | 1 - .../execution_success/scalar_mul/Nargo.toml | 1 - .../execution_success/schnorr/Nargo.toml | 1 - .../tests/execution_success/sha256/Nargo.toml | 1 - .../execution_success/sha2_blocks/Nargo.toml | 1 - .../execution_success/sha2_byte/Nargo.toml | 1 - .../signed_arithmetic/Nargo.toml | 1 - .../signed_division/Nargo.toml | 1 - .../simple_2d_array/Nargo.toml | 1 - .../simple_add_and_ret_arr/Nargo.toml | 2 - .../simple_bitwise/Nargo.toml | 2 - .../simple_comparison/Nargo.toml | 1 - .../execution_success/simple_mut/Nargo.toml | 2 - .../execution_success/simple_not/Nargo.toml | 2 - .../execution_success/simple_print/Nargo.toml | 2 - .../simple_program_addition/Nargo.toml | 1 - .../execution_success/simple_radix/Nargo.toml | 2 - .../simple_shield/Nargo.toml | 1 - .../simple_shift_left_right/Nargo.toml | 1 - .../slice_dynamic_index/Nargo.toml | 1 - .../tests/execution_success/slices/Nargo.toml | 2 - .../execution_success/strings/Nargo.toml | 1 - .../tests/execution_success/struct/Nargo.toml | 1 - .../struct_array_inputs/Nargo.toml | 2 - .../struct_fields_ordering/Nargo.toml | 1 - .../struct_inputs/Nargo.toml | 1 - .../execution_success/submodules/Nargo.toml | 2 - .../execution_success/to_be_bytes/Nargo.toml | 2 - .../to_bytes_consistent/Nargo.toml | 2 - .../to_bytes_integration/Nargo.toml | 2 - .../execution_success/to_le_bytes/Nargo.toml | 2 - .../trait_as_return_type/Nargo.toml | 2 - .../trait_impl_base_type/Nargo.toml | 2 - .../traits_in_crates_1/Nargo.toml | 2 - .../traits_in_crates_1/crate1/Nargo.toml | 2 - .../traits_in_crates_1/crate2/Nargo.toml | 2 - .../traits_in_crates_2/Nargo.toml | 2 - .../traits_in_crates_2/crate1/Nargo.toml | 2 - .../traits_in_crates_2/crate2/Nargo.toml | 2 - .../execution_success/tuple_inputs/Nargo.toml | 2 - .../tests/execution_success/tuples/Nargo.toml | 2 - .../execution_success/type_aliases/Nargo.toml | 2 - .../workspace/crates/a/Nargo.toml | 2 - .../workspace/crates/b/Nargo.toml | 2 - .../workspace_default_member/a/Nargo.toml | 2 - .../workspace_default_member/b/Nargo.toml | 2 - .../tests/execution_success/xor/Nargo.toml | 2 - .../should_fail_mismatch/Nargo.toml | 2 - .../should_fail_with_matches/Nargo.toml | 2 - .../tests/test_libraries/bad_impl/Nargo.toml | 2 - .../tests/test_libraries/bad_name/Nargo.toml | 2 - .../tests/test_libraries/bin_dep/Nargo.toml | 2 - .../test_libraries/diamond_deps_1/Nargo.toml | 2 - .../test_libraries/diamond_deps_2/Nargo.toml | 2 - tooling/nargo_toml/Cargo.toml | 1 + tooling/nargo_toml/src/errors.rs | 18 +- tooling/nargo_toml/src/lib.rs | 16 +- tooling/nargo_toml/src/semver.rs | 196 ++++++++++++++++++ .../assert_lt/Nargo.toml | 2 - 276 files changed, 340 insertions(+), 397 deletions(-) create mode 100644 tooling/nargo_toml/src/semver.rs diff --git a/Cargo.lock b/Cargo.lock index b5119d9de73..abe785a4b1a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2488,6 +2488,7 @@ dependencies = [ "fm", "nargo", "noirc_frontend", + "semver", "serde", "thiserror", "toml", @@ -3686,9 +3687,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.18" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0293b4b29daaf487284529cc2f5675b8e57c61f70167ba415a463651fd6a918" +checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" dependencies = [ "serde", ] diff --git a/compiler/integration-tests/circuits/main/Nargo.toml b/compiler/integration-tests/circuits/main/Nargo.toml index 664e817cc84..cc5a0a357fa 100644 --- a/compiler/integration-tests/circuits/main/Nargo.toml +++ b/compiler/integration-tests/circuits/main/Nargo.toml @@ -2,6 +2,4 @@ name = "main" type = "bin" authors = [""] -compiler_version = "0.9.0" - [dependencies] diff --git a/compiler/integration-tests/circuits/recursion/Nargo.toml b/compiler/integration-tests/circuits/recursion/Nargo.toml index 5469c07c7de..276ba1b34e0 100644 --- a/compiler/integration-tests/circuits/recursion/Nargo.toml +++ b/compiler/integration-tests/circuits/recursion/Nargo.toml @@ -2,6 +2,4 @@ name = "recursion" type = "bin" authors = [""] -compiler_version = "0.9.0" - [dependencies] diff --git a/compiler/wasm/fixtures/deps/lib-a/Nargo.toml b/compiler/wasm/fixtures/deps/lib-a/Nargo.toml index 3a02ccc1086..fa40b736619 100644 --- a/compiler/wasm/fixtures/deps/lib-a/Nargo.toml +++ b/compiler/wasm/fixtures/deps/lib-a/Nargo.toml @@ -2,7 +2,6 @@ name="lib_a" type="lib" authors = [""] -compiler_version = "0.1" [dependencies] lib_b = { path = "../lib-b" } diff --git a/compiler/wasm/fixtures/deps/lib-b/Nargo.toml b/compiler/wasm/fixtures/deps/lib-b/Nargo.toml index 99db61e4bfa..904b6e14b90 100644 --- a/compiler/wasm/fixtures/deps/lib-b/Nargo.toml +++ b/compiler/wasm/fixtures/deps/lib-b/Nargo.toml @@ -2,6 +2,5 @@ name="lib_b" type="lib" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/compiler/wasm/fixtures/deps/noir-script/Nargo.toml b/compiler/wasm/fixtures/deps/noir-script/Nargo.toml index 0df22c2be7e..7c8182a02ae 100644 --- a/compiler/wasm/fixtures/deps/noir-script/Nargo.toml +++ b/compiler/wasm/fixtures/deps/noir-script/Nargo.toml @@ -2,7 +2,6 @@ name="noir_wasm_testing" type="bin" authors = [""] -compiler_version = "0.1" [dependencies] lib_a = { path="../lib-a" } diff --git a/compiler/wasm/fixtures/simple/noir-script/Nargo.toml b/compiler/wasm/fixtures/simple/noir-script/Nargo.toml index a8d4eb100f2..75499a08245 100644 --- a/compiler/wasm/fixtures/simple/noir-script/Nargo.toml +++ b/compiler/wasm/fixtures/simple/noir-script/Nargo.toml @@ -2,6 +2,5 @@ name="noir_wasm_testing" type="bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/docs/docs/getting_started/02_breakdown.md b/docs/docs/getting_started/02_breakdown.md index bc0e742fb4e..9a17f5d6360 100644 --- a/docs/docs/getting_started/02_breakdown.md +++ b/docs/docs/getting_started/02_breakdown.md @@ -66,7 +66,7 @@ The package section requires a number of fields including: - `name` (**required**) - the name of the package - `type` (**required**) - can be "bin", "lib", or "contract" to specify whether its a binary, library or Aztec contract - `authors` (optional) - authors of the project -- `compiler_version` (optional) - specifies the version of the compiler to use. This is not currently enforced by the compiler, but will be in future versions. +- `compiler_version` - specifies the version of the compiler to use. This is enforced by the compiler and follow's [Rust's versioning](https://doc.rust-lang.org/cargo/reference/manifest.html#the-version-field), so a `compiler_version = 0.18.0` will enforce Nargo version 0.18.0, `compiler_version = ^0.18.0` will enforce anything above 0.18.0 but below 0.19.0, etc. For more information, see how [Rust handles these operators](https://docs.rs/semver/latest/semver/enum.Op.html) - `description` (optional) - `entry` (optional) - a relative filepath to use as the entry point into your package (overrides the default of `src/lib.nr` or `src/main.nr`) - `backend` (optional) diff --git a/docs/docs/migration_notes.md b/docs/docs/migration_notes.md index 48a8abcf22e..e87eb1feaba 100644 --- a/docs/docs/migration_notes.md +++ b/docs/docs/migration_notes.md @@ -6,6 +6,14 @@ keywords: [Noir, notes, migration, updating, upgrading] Noir is in full-speed development. Things break fast, wild, and often. This page attempts to leave some notes on errors you might encounter when upgrading and how to resolve them until proper patches are built. +## ≥0.19 + +### Enforcing `compiler_version` + +From this version on, the compiler will check for the `compiler_version` field in `Nargo.toml`, and will error if it doesn't match the current Nargo version in use. + +To update, please make sure this field in `Nargo.toml` matches the output of `nargo --version`. + ## ≥0.14 The index of the [for loops](./language_concepts/02_control_flow.md#loops) is now of type `u64` instead of `Field`. An example refactor would be: diff --git a/noir_stdlib/Nargo.toml b/noir_stdlib/Nargo.toml index 9b7a79ad2a6..d2f8ebcb636 100644 --- a/noir_stdlib/Nargo.toml +++ b/noir_stdlib/Nargo.toml @@ -2,6 +2,4 @@ name = "std" type = "lib" authors = [""] -compiler_version = "0.1" - [dependencies] diff --git a/tooling/lsp/src/notifications/mod.rs b/tooling/lsp/src/notifications/mod.rs index 633c88b420a..93fa8baf6ac 100644 --- a/tooling/lsp/src/notifications/mod.rs +++ b/tooling/lsp/src/notifications/mod.rs @@ -3,7 +3,7 @@ use std::ops::ControlFlow; use async_lsp::{ErrorCode, LanguageClient, ResponseError}; use nargo::prepare_package; use nargo_toml::{find_package_manifest, resolve_workspace_from_toml, PackageSelection}; -use noirc_driver::check_crate; +use noirc_driver::{check_crate, NOIR_ARTIFACT_VERSION_STRING}; use noirc_errors::{DiagnosticKind, FileDiagnostic}; use crate::types::{ @@ -88,7 +88,11 @@ pub(super) fn on_did_save_text_document( return ControlFlow::Continue(()); } }; - let workspace = match resolve_workspace_from_toml(&toml_path, PackageSelection::All) { + let workspace = match resolve_workspace_from_toml( + &toml_path, + PackageSelection::All, + Some(NOIR_ARTIFACT_VERSION_STRING.to_string()), + ) { Ok(workspace) => workspace, Err(err) => { // If we found a manifest, but the workspace is invalid, we raise an error about it diff --git a/tooling/lsp/src/requests/code_lens_request.rs b/tooling/lsp/src/requests/code_lens_request.rs index 700002d2030..7794fb8444f 100644 --- a/tooling/lsp/src/requests/code_lens_request.rs +++ b/tooling/lsp/src/requests/code_lens_request.rs @@ -4,7 +4,7 @@ use async_lsp::{ErrorCode, LanguageClient, ResponseError}; use nargo::{package::Package, prepare_package, workspace::Workspace}; use nargo_toml::{find_package_manifest, resolve_workspace_from_toml, PackageSelection}; -use noirc_driver::check_crate; +use noirc_driver::{check_crate, NOIR_ARTIFACT_VERSION_STRING}; use noirc_frontend::hir::FunctionNameMatch; use crate::{ @@ -67,11 +67,15 @@ fn on_code_lens_request_inner( return Ok(None); } }; - let workspace = - resolve_workspace_from_toml(&toml_path, PackageSelection::All).map_err(|err| { - // If we found a manifest, but the workspace is invalid, we raise an error about it - ResponseError::new(ErrorCode::REQUEST_FAILED, err) - })?; + let workspace = resolve_workspace_from_toml( + &toml_path, + PackageSelection::All, + Some(NOIR_ARTIFACT_VERSION_STRING.to_string()), + ) + .map_err(|err| { + // If we found a manifest, but the workspace is invalid, we raise an error about it + ResponseError::new(ErrorCode::REQUEST_FAILED, err) + })?; let mut lenses: Vec = vec![]; diff --git a/tooling/lsp/src/requests/test_run.rs b/tooling/lsp/src/requests/test_run.rs index 30a3015eb75..962fe99a49b 100644 --- a/tooling/lsp/src/requests/test_run.rs +++ b/tooling/lsp/src/requests/test_run.rs @@ -6,7 +6,7 @@ use nargo::{ prepare_package, }; use nargo_toml::{find_package_manifest, resolve_workspace_from_toml, PackageSelection}; -use noirc_driver::{check_crate, CompileOptions}; +use noirc_driver::{check_crate, CompileOptions, NOIR_ARTIFACT_VERSION_STRING}; use noirc_frontend::hir::FunctionNameMatch; use crate::{ @@ -38,12 +38,15 @@ fn on_test_run_request_inner( let crate_name = params.id.crate_name(); let function_name = params.id.function_name(); - let workspace = - resolve_workspace_from_toml(&toml_path, PackageSelection::Selected(crate_name.clone())) - .map_err(|err| { - // If we found a manifest, but the workspace is invalid, we raise an error about it - ResponseError::new(ErrorCode::REQUEST_FAILED, err) - })?; + let workspace = resolve_workspace_from_toml( + &toml_path, + PackageSelection::Selected(crate_name.clone()), + Some(NOIR_ARTIFACT_VERSION_STRING.to_string()), + ) + .map_err(|err| { + // If we found a manifest, but the workspace is invalid, we raise an error about it + ResponseError::new(ErrorCode::REQUEST_FAILED, err) + })?; // Since we filtered on crate name, this should be the only item in the iterator match workspace.into_iter().next() { diff --git a/tooling/lsp/src/requests/tests.rs b/tooling/lsp/src/requests/tests.rs index a5988b54f06..6b94b921a06 100644 --- a/tooling/lsp/src/requests/tests.rs +++ b/tooling/lsp/src/requests/tests.rs @@ -4,7 +4,7 @@ use async_lsp::{ErrorCode, LanguageClient, ResponseError}; use lsp_types::{LogMessageParams, MessageType}; use nargo::prepare_package; use nargo_toml::{find_package_manifest, resolve_workspace_from_toml, PackageSelection}; -use noirc_driver::check_crate; +use noirc_driver::{check_crate, NOIR_ARTIFACT_VERSION_STRING}; use crate::{ get_non_stdlib_asset, get_package_tests_in_crate, @@ -40,11 +40,15 @@ fn on_tests_request_inner( } }; - let workspace = - resolve_workspace_from_toml(&toml_path, PackageSelection::All).map_err(|err| { - // If we found a manifest, but the workspace is invalid, we raise an error about it - ResponseError::new(ErrorCode::REQUEST_FAILED, err) - })?; + let workspace = resolve_workspace_from_toml( + &toml_path, + PackageSelection::All, + Some(NOIR_ARTIFACT_VERSION_STRING.to_string()), + ) + .map_err(|err| { + // If we found a manifest, but the workspace is invalid, we raise an error about it + ResponseError::new(ErrorCode::REQUEST_FAILED, err) + })?; let package_tests: Vec<_> = workspace .into_iter() diff --git a/tooling/nargo/src/package.rs b/tooling/nargo/src/package.rs index 16f65d329ba..94c7c5b9c98 100644 --- a/tooling/nargo/src/package.rs +++ b/tooling/nargo/src/package.rs @@ -43,6 +43,8 @@ impl Dependency { #[derive(Clone)] pub struct Package { + // A semver string which specifies the compiler version required to compile this package + pub compiler_required_version: Option, pub root_dir: PathBuf, pub package_type: PackageType, pub entry_path: PathBuf, diff --git a/tooling/nargo_cli/src/cli/check_cmd.rs b/tooling/nargo_cli/src/cli/check_cmd.rs index 30309f88f32..79f199381fa 100644 --- a/tooling/nargo_cli/src/cli/check_cmd.rs +++ b/tooling/nargo_cli/src/cli/check_cmd.rs @@ -6,7 +6,9 @@ use iter_extended::btree_map; use nargo::{package::Package, prepare_package}; use nargo_toml::{get_package_manifest, resolve_workspace_from_toml, PackageSelection}; use noirc_abi::{AbiParameter, AbiType, MAIN_RETURN_NAME}; -use noirc_driver::{check_crate, compute_function_abi, CompileOptions}; +use noirc_driver::{ + check_crate, compute_function_abi, CompileOptions, NOIR_ARTIFACT_VERSION_STRING, +}; use noirc_frontend::{ graph::{CrateId, CrateName}, hir::Context, @@ -39,7 +41,11 @@ pub(crate) fn run( let default_selection = if args.workspace { PackageSelection::All } else { PackageSelection::DefaultOrAll }; let selection = args.package.map_or(default_selection, PackageSelection::Selected); - let workspace = resolve_workspace_from_toml(&toml_path, selection)?; + let workspace = resolve_workspace_from_toml( + &toml_path, + selection, + Some(NOIR_ARTIFACT_VERSION_STRING.to_string()), + )?; for package in &workspace { check_package(package, &args.compile_options)?; diff --git a/tooling/nargo_cli/src/cli/codegen_verifier_cmd.rs b/tooling/nargo_cli/src/cli/codegen_verifier_cmd.rs index 856970544b8..59143526b24 100644 --- a/tooling/nargo_cli/src/cli/codegen_verifier_cmd.rs +++ b/tooling/nargo_cli/src/cli/codegen_verifier_cmd.rs @@ -13,7 +13,7 @@ use clap::Args; use nargo::package::Package; use nargo::workspace::Workspace; use nargo_toml::{get_package_manifest, resolve_workspace_from_toml, PackageSelection}; -use noirc_driver::CompileOptions; +use noirc_driver::{CompileOptions, NOIR_ARTIFACT_VERSION_STRING}; use noirc_frontend::graph::CrateName; /// Generates a Solidity verifier smart contract for the program @@ -40,7 +40,11 @@ pub(crate) fn run( let default_selection = if args.workspace { PackageSelection::All } else { PackageSelection::DefaultOrAll }; let selection = args.package.map_or(default_selection, PackageSelection::Selected); - let workspace = resolve_workspace_from_toml(&toml_path, selection)?; + let workspace = resolve_workspace_from_toml( + &toml_path, + selection, + Some(NOIR_ARTIFACT_VERSION_STRING.to_string()), + )?; let (np_language, opcode_support) = backend.get_backend_info()?; for package in &workspace { diff --git a/tooling/nargo_cli/src/cli/compile_cmd.rs b/tooling/nargo_cli/src/cli/compile_cmd.rs index d018cf79651..156359dab04 100644 --- a/tooling/nargo_cli/src/cli/compile_cmd.rs +++ b/tooling/nargo_cli/src/cli/compile_cmd.rs @@ -61,7 +61,12 @@ pub(crate) fn run( let default_selection = if args.workspace { PackageSelection::All } else { PackageSelection::DefaultOrAll }; let selection = args.package.map_or(default_selection, PackageSelection::Selected); - let workspace = resolve_workspace_from_toml(&toml_path, selection)?; + + let workspace = resolve_workspace_from_toml( + &toml_path, + selection, + Some(NOIR_ARTIFACT_VERSION_STRING.to_owned()), + )?; let circuit_dir = workspace.target_directory_path(); let (binary_packages, contract_packages): (Vec<_>, Vec<_>) = workspace diff --git a/tooling/nargo_cli/src/cli/debug_cmd.rs b/tooling/nargo_cli/src/cli/debug_cmd.rs index 2c46af96bbb..1d344058312 100644 --- a/tooling/nargo_cli/src/cli/debug_cmd.rs +++ b/tooling/nargo_cli/src/cli/debug_cmd.rs @@ -7,7 +7,7 @@ use nargo::package::Package; use nargo_toml::{get_package_manifest, resolve_workspace_from_toml, PackageSelection}; use noirc_abi::input_parser::{Format, InputValue}; use noirc_abi::InputMap; -use noirc_driver::{CompileOptions, CompiledProgram}; +use noirc_driver::{CompileOptions, CompiledProgram, NOIR_ARTIFACT_VERSION_STRING}; use noirc_frontend::graph::CrateName; use super::compile_cmd::compile_bin_package; @@ -41,7 +41,11 @@ pub(crate) fn run( ) -> Result<(), CliError> { let toml_path = get_package_manifest(&config.program_dir)?; let selection = args.package.map_or(PackageSelection::DefaultOrAll, PackageSelection::Selected); - let workspace = resolve_workspace_from_toml(&toml_path, selection)?; + let workspace = resolve_workspace_from_toml( + &toml_path, + selection, + Some(NOIR_ARTIFACT_VERSION_STRING.to_string()), + )?; let target_dir = &workspace.target_directory_path(); let (np_language, opcode_support) = backend.get_backend_info()?; diff --git a/tooling/nargo_cli/src/cli/execute_cmd.rs b/tooling/nargo_cli/src/cli/execute_cmd.rs index 3f05b5b75f2..3a0da2b1134 100644 --- a/tooling/nargo_cli/src/cli/execute_cmd.rs +++ b/tooling/nargo_cli/src/cli/execute_cmd.rs @@ -8,7 +8,7 @@ use nargo::package::Package; use nargo_toml::{get_package_manifest, resolve_workspace_from_toml, PackageSelection}; use noirc_abi::input_parser::{Format, InputValue}; use noirc_abi::InputMap; -use noirc_driver::{CompileOptions, CompiledProgram}; +use noirc_driver::{CompileOptions, CompiledProgram, NOIR_ARTIFACT_VERSION_STRING}; use noirc_frontend::graph::CrateName; use super::compile_cmd::compile_bin_package; @@ -48,7 +48,11 @@ pub(crate) fn run( let default_selection = if args.workspace { PackageSelection::All } else { PackageSelection::DefaultOrAll }; let selection = args.package.map_or(default_selection, PackageSelection::Selected); - let workspace = resolve_workspace_from_toml(&toml_path, selection)?; + let workspace = resolve_workspace_from_toml( + &toml_path, + selection, + Some(NOIR_ARTIFACT_VERSION_STRING.to_string()), + )?; let target_dir = &workspace.target_directory_path(); let (np_language, opcode_support) = backend.get_backend_info()?; diff --git a/tooling/nargo_cli/src/cli/fmt_cmd.rs b/tooling/nargo_cli/src/cli/fmt_cmd.rs index 31b45cc092a..42fe5a0d362 100644 --- a/tooling/nargo_cli/src/cli/fmt_cmd.rs +++ b/tooling/nargo_cli/src/cli/fmt_cmd.rs @@ -3,6 +3,7 @@ use std::{fs::DirEntry, path::Path}; use clap::Args; use fm::FileManager; use nargo_toml::{get_package_manifest, resolve_workspace_from_toml, PackageSelection}; +use noirc_driver::NOIR_ARTIFACT_VERSION_STRING; use noirc_errors::CustomDiagnostic; use noirc_frontend::hir::def_map::parse_file; @@ -15,7 +16,11 @@ pub(crate) struct FormatCommand {} pub(crate) fn run(_args: FormatCommand, config: NargoConfig) -> Result<(), CliError> { let toml_path = get_package_manifest(&config.program_dir)?; - let workspace = resolve_workspace_from_toml(&toml_path, PackageSelection::All)?; + let workspace = resolve_workspace_from_toml( + &toml_path, + PackageSelection::All, + Some(NOIR_ARTIFACT_VERSION_STRING.to_string()), + )?; let config = nargo_fmt::Config::read(&config.program_dir) .map_err(|err| CliError::Generic(err.to_string()))?; diff --git a/tooling/nargo_cli/src/cli/info_cmd.rs b/tooling/nargo_cli/src/cli/info_cmd.rs index 50021e842c4..de0c63c3ab3 100644 --- a/tooling/nargo_cli/src/cli/info_cmd.rs +++ b/tooling/nargo_cli/src/cli/info_cmd.rs @@ -4,7 +4,9 @@ use clap::Args; use iter_extended::vecmap; use nargo::package::Package; use nargo_toml::{get_package_manifest, resolve_workspace_from_toml, PackageSelection}; -use noirc_driver::{CompileOptions, CompiledContract, CompiledProgram}; +use noirc_driver::{ + CompileOptions, CompiledContract, CompiledProgram, NOIR_ARTIFACT_VERSION_STRING, +}; use noirc_frontend::graph::CrateName; use prettytable::{row, table, Row}; use rayon::prelude::*; @@ -47,7 +49,11 @@ pub(crate) fn run( let default_selection = if args.workspace { PackageSelection::All } else { PackageSelection::DefaultOrAll }; let selection = args.package.map_or(default_selection, PackageSelection::Selected); - let workspace = resolve_workspace_from_toml(&toml_path, selection)?; + let workspace = resolve_workspace_from_toml( + &toml_path, + selection, + Some(NOIR_ARTIFACT_VERSION_STRING.to_string()), + )?; let (binary_packages, contract_packages): (Vec<_>, Vec<_>) = workspace .into_iter() diff --git a/tooling/nargo_cli/src/cli/init_cmd.rs b/tooling/nargo_cli/src/cli/init_cmd.rs index 9d7700a6598..e53c2e4cdc9 100644 --- a/tooling/nargo_cli/src/cli/init_cmd.rs +++ b/tooling/nargo_cli/src/cli/init_cmd.rs @@ -73,7 +73,7 @@ pub(crate) fn initialize_project( name = "{package_name}" type = "{package_type}" authors = [""] -compiler_version = "{NOIRC_VERSION}" +compiler_version = ">={NOIRC_VERSION}" [dependencies]"# ); diff --git a/tooling/nargo_cli/src/cli/prove_cmd.rs b/tooling/nargo_cli/src/cli/prove_cmd.rs index af300b7ebe0..3586e73ff2e 100644 --- a/tooling/nargo_cli/src/cli/prove_cmd.rs +++ b/tooling/nargo_cli/src/cli/prove_cmd.rs @@ -4,7 +4,7 @@ use nargo::package::Package; use nargo::workspace::Workspace; use nargo_toml::{get_package_manifest, resolve_workspace_from_toml, PackageSelection}; use noirc_abi::input_parser::Format; -use noirc_driver::{CompileOptions, CompiledProgram}; +use noirc_driver::{CompileOptions, CompiledProgram, NOIR_ARTIFACT_VERSION_STRING}; use noirc_frontend::graph::CrateName; use super::compile_cmd::compile_bin_package; @@ -51,7 +51,11 @@ pub(crate) fn run( let default_selection = if args.workspace { PackageSelection::All } else { PackageSelection::DefaultOrAll }; let selection = args.package.map_or(default_selection, PackageSelection::Selected); - let workspace = resolve_workspace_from_toml(&toml_path, selection)?; + let workspace = resolve_workspace_from_toml( + &toml_path, + selection, + Some(NOIR_ARTIFACT_VERSION_STRING.to_string()), + )?; let (np_language, opcode_support) = backend.get_backend_info()?; for package in &workspace { diff --git a/tooling/nargo_cli/src/cli/test_cmd.rs b/tooling/nargo_cli/src/cli/test_cmd.rs index 4ba2fc35766..e117d8555a5 100644 --- a/tooling/nargo_cli/src/cli/test_cmd.rs +++ b/tooling/nargo_cli/src/cli/test_cmd.rs @@ -8,7 +8,7 @@ use nargo::{ prepare_package, }; use nargo_toml::{get_package_manifest, resolve_workspace_from_toml, PackageSelection}; -use noirc_driver::CompileOptions; +use noirc_driver::{CompileOptions, NOIR_ARTIFACT_VERSION_STRING}; use noirc_frontend::{graph::CrateName, hir::FunctionNameMatch}; use termcolor::{Color, ColorChoice, ColorSpec, StandardStream, WriteColor}; @@ -51,7 +51,11 @@ pub(crate) fn run( let default_selection = if args.workspace { PackageSelection::All } else { PackageSelection::DefaultOrAll }; let selection = args.package.map_or(default_selection, PackageSelection::Selected); - let workspace = resolve_workspace_from_toml(&toml_path, selection)?; + let workspace = resolve_workspace_from_toml( + &toml_path, + selection, + Some(NOIR_ARTIFACT_VERSION_STRING.to_string()), + )?; let pattern = match &args.test_name { Some(name) => { diff --git a/tooling/nargo_cli/src/cli/verify_cmd.rs b/tooling/nargo_cli/src/cli/verify_cmd.rs index 6ae2b78fd0c..8c6d92b3d2f 100644 --- a/tooling/nargo_cli/src/cli/verify_cmd.rs +++ b/tooling/nargo_cli/src/cli/verify_cmd.rs @@ -11,7 +11,7 @@ use nargo::package::Package; use nargo::workspace::Workspace; use nargo_toml::{get_package_manifest, resolve_workspace_from_toml, PackageSelection}; use noirc_abi::input_parser::Format; -use noirc_driver::{CompileOptions, CompiledProgram}; +use noirc_driver::{CompileOptions, CompiledProgram, NOIR_ARTIFACT_VERSION_STRING}; use noirc_frontend::graph::CrateName; /// Given a proof and a program, verify whether the proof is valid @@ -42,7 +42,11 @@ pub(crate) fn run( let default_selection = if args.workspace { PackageSelection::All } else { PackageSelection::DefaultOrAll }; let selection = args.package.map_or(default_selection, PackageSelection::Selected); - let workspace = resolve_workspace_from_toml(&toml_path, selection)?; + let workspace = resolve_workspace_from_toml( + &toml_path, + selection, + Some(NOIR_ARTIFACT_VERSION_STRING.to_string()), + )?; let (np_language, opcode_support) = backend.get_backend_info()?; for package in &workspace { diff --git a/tooling/nargo_cli/tests/compile_failure/assert_constant_fail/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/assert_constant_fail/Nargo.toml index a8c9b4ad344..2eaf67246e1 100644 --- a/tooling/nargo_cli/tests/compile_failure/assert_constant_fail/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/assert_constant_fail/Nargo.toml @@ -2,6 +2,4 @@ name = "assert_constant_fail" type = "bin" authors = [""] -compiler_version = "0.9.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/assert_eq_struct/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/assert_eq_struct/Nargo.toml index 055c23234ce..9fcdcc10bb7 100644 --- a/tooling/nargo_cli/tests/compile_failure/assert_eq_struct/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/assert_eq_struct/Nargo.toml @@ -2,6 +2,4 @@ name = "assert_eq_struct" type = "bin" authors = [""] -compiler_version = "0.1" - [dependencies] diff --git a/tooling/nargo_cli/tests/compile_failure/brillig_assert_fail/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/brillig_assert_fail/Nargo.toml index 181af302d8f..7ce776e5ce6 100644 --- a/tooling/nargo_cli/tests/compile_failure/brillig_assert_fail/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/brillig_assert_fail/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_assert_fail" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_failure/constrain_typo/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/constrain_typo/Nargo.toml index db1c3480387..191121e59b7 100644 --- a/tooling/nargo_cli/tests/compile_failure/constrain_typo/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/constrain_typo/Nargo.toml @@ -2,6 +2,5 @@ name = "constrain_typo" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_failure/custom_entry_not_found/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/custom_entry_not_found/Nargo.toml index 0ccb94aff1a..a32696d3370 100644 --- a/tooling/nargo_cli/tests/compile_failure/custom_entry_not_found/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/custom_entry_not_found/Nargo.toml @@ -4,6 +4,5 @@ type = "bin" # Testing that this file is missing and doesn't fallback to default `main.nr` file entry = "src/foobarbaz.nr" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_failure/dep_impl_primitive/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/dep_impl_primitive/Nargo.toml index 6a49afec2c4..afe5a5134ca 100644 --- a/tooling/nargo_cli/tests/compile_failure/dep_impl_primitive/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/dep_impl_primitive/Nargo.toml @@ -2,7 +2,5 @@ name = "dep_impl_primitive" type = "bin" authors = [""] -compiler_version = "0.8.0" - [dependencies] bad_impl = { path = "../../test_libraries/bad_impl" } diff --git a/tooling/nargo_cli/tests/compile_failure/depend_on_bin/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/depend_on_bin/Nargo.toml index 2404e68e180..8334a38eb4b 100644 --- a/tooling/nargo_cli/tests/compile_failure/depend_on_bin/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/depend_on_bin/Nargo.toml @@ -2,7 +2,5 @@ name = "depend_on_bin" type = "bin" authors = [""] -compiler_version = "0.8.0" - [dependencies] bin_dep = { path = "../../test_libraries/bin_dep" } diff --git a/tooling/nargo_cli/tests/compile_failure/div_by_zero_constants/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/div_by_zero_constants/Nargo.toml index 55e36368845..aad13c7d97f 100644 --- a/tooling/nargo_cli/tests/compile_failure/div_by_zero_constants/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/div_by_zero_constants/Nargo.toml @@ -2,6 +2,5 @@ name = "divide_by_zero" type = "bin" authors = [""] -compiler_version = "0.10.3" [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/div_by_zero_modulo/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/div_by_zero_modulo/Nargo.toml index d3b69d8c41b..22ff18075cd 100644 --- a/tooling/nargo_cli/tests/compile_failure/div_by_zero_modulo/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/div_by_zero_modulo/Nargo.toml @@ -2,6 +2,5 @@ name = "div_by_zero_modulo" type = "bin" authors = [""] -compiler_version = "0.10.5" [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/div_by_zero_numerator_witness/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/div_by_zero_numerator_witness/Nargo.toml index 58a60a38a0c..30a7eb62645 100644 --- a/tooling/nargo_cli/tests/compile_failure/div_by_zero_numerator_witness/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/div_by_zero_numerator_witness/Nargo.toml @@ -2,6 +2,5 @@ name = "div_by_zero_numerator_witness" type = "bin" authors = [""] -compiler_version = "0.10.3" [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/div_by_zero_witness/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/div_by_zero_witness/Nargo.toml index 08dbe74f018..e4968f6182d 100644 --- a/tooling/nargo_cli/tests/compile_failure/div_by_zero_witness/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/div_by_zero_witness/Nargo.toml @@ -2,6 +2,5 @@ name = "div_by_zero_witness" type = "bin" authors = [""] -compiler_version = "0.10.3" [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/dup_trait_implementation_4/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/dup_trait_implementation_4/Nargo.toml index 7c2c50884fe..18352cb34b5 100644 --- a/tooling/nargo_cli/tests/compile_failure/dup_trait_implementation_4/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/dup_trait_implementation_4/Nargo.toml @@ -2,6 +2,5 @@ name = "dup_trait_implementation_4" type = "bin" authors = [""] -compiler_version = "0.11.1" [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/dup_trait_implementation_5/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/dup_trait_implementation_5/Nargo.toml index b5bacc433f3..40b7c3d0269 100644 --- a/tooling/nargo_cli/tests/compile_failure/dup_trait_implementation_5/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/dup_trait_implementation_5/Nargo.toml @@ -2,6 +2,5 @@ name = "dup_trait_implementation_5" type = "bin" authors = [""] -compiler_version = "0.11.1" [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/dup_trait_items_1/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/dup_trait_items_1/Nargo.toml index d8b44af47c2..078a336c282 100644 --- a/tooling/nargo_cli/tests/compile_failure/dup_trait_items_1/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/dup_trait_items_1/Nargo.toml @@ -2,6 +2,4 @@ name = "dup_trait_items_1" type = "bin" authors = [""] -compiler_version = "0.15.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/dup_trait_items_2/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/dup_trait_items_2/Nargo.toml index b37256a1292..41e1a3b3fd9 100644 --- a/tooling/nargo_cli/tests/compile_failure/dup_trait_items_2/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/dup_trait_items_2/Nargo.toml @@ -2,6 +2,4 @@ name = "dup_trait_items_2" type = "bin" authors = [""] -compiler_version = "0.15.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/dup_trait_items_3/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/dup_trait_items_3/Nargo.toml index c9a0de11174..1388f3c83ee 100644 --- a/tooling/nargo_cli/tests/compile_failure/dup_trait_items_3/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/dup_trait_items_3/Nargo.toml @@ -2,6 +2,4 @@ name = "dup_trait_items_3" type = "bin" authors = [""] -compiler_version = "0.15.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/dup_trait_items_4/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/dup_trait_items_4/Nargo.toml index 5e4af3a29ae..43e8096548b 100644 --- a/tooling/nargo_cli/tests/compile_failure/dup_trait_items_4/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/dup_trait_items_4/Nargo.toml @@ -2,6 +2,4 @@ name = "dup_trait_items_4" type = "bin" authors = [""] -compiler_version = "0.15.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/dup_trait_items_5/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/dup_trait_items_5/Nargo.toml index 2d8c9aad7ec..0af8ef88cea 100644 --- a/tooling/nargo_cli/tests/compile_failure/dup_trait_items_5/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/dup_trait_items_5/Nargo.toml @@ -2,6 +2,4 @@ name = "dup_trait_items_5" type = "bin" authors = [""] -compiler_version = "0.15.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/dup_trait_items_6/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/dup_trait_items_6/Nargo.toml index 5107c10b41d..dd5f13438ec 100644 --- a/tooling/nargo_cli/tests/compile_failure/dup_trait_items_6/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/dup_trait_items_6/Nargo.toml @@ -2,6 +2,4 @@ name = "dup_trait_items_6" type = "bin" authors = [""] -compiler_version = "0.15.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/duplicate_declaration/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/duplicate_declaration/Nargo.toml index 56f65941b52..a4c82c70642 100644 --- a/tooling/nargo_cli/tests/compile_failure/duplicate_declaration/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/duplicate_declaration/Nargo.toml @@ -2,6 +2,5 @@ name = "duplicate_declaration" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_failure/dyn_index_fail_nested_array/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/dyn_index_fail_nested_array/Nargo.toml index 52a547e8d7b..7f1c2c097a4 100644 --- a/tooling/nargo_cli/tests/compile_failure/dyn_index_fail_nested_array/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/dyn_index_fail_nested_array/Nargo.toml @@ -2,6 +2,5 @@ name = "dyn_index_fail_nested_array" type = "bin" authors = [""] -compiler_version = "0.11.1" [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/dynamic_index_failure/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/dynamic_index_failure/Nargo.toml index c68615052c1..2c44a5356c3 100644 --- a/tooling/nargo_cli/tests/compile_failure/dynamic_index_failure/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/dynamic_index_failure/Nargo.toml @@ -2,6 +2,5 @@ name = "dynamic_index_failure" type = "bin" authors = [""] -compiler_version = "0.10.3" [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/field_modulo/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/field_modulo/Nargo.toml index f6bc2dd70e2..94934f13e56 100644 --- a/tooling/nargo_cli/tests/compile_failure/field_modulo/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/field_modulo/Nargo.toml @@ -2,6 +2,4 @@ name = "field_modulo" type = "bin" authors = [""] -compiler_version = "0.9.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/integer_literal_overflow/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/integer_literal_overflow/Nargo.toml index f29ec0408ea..ed607023878 100644 --- a/tooling/nargo_cli/tests/compile_failure/integer_literal_overflow/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/integer_literal_overflow/Nargo.toml @@ -2,6 +2,4 @@ name = "integer_literal_overflow" type = "bin" authors = [""] -compiler_version = "0.16.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/invalid_dependency_name/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/invalid_dependency_name/Nargo.toml index 69b56a2e7d0..99d184acdcf 100644 --- a/tooling/nargo_cli/tests/compile_failure/invalid_dependency_name/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/invalid_dependency_name/Nargo.toml @@ -2,7 +2,5 @@ name = "invalid_dependency_name" type = "bin" authors = [""] -compiler_version = "0.9.0" - [dependencies] bad_name = { path = "../../test_libraries/bad_name" } diff --git a/tooling/nargo_cli/tests/compile_failure/multiple_contracts/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/multiple_contracts/Nargo.toml index c71c86c664b..d6e4e632f95 100644 --- a/tooling/nargo_cli/tests/compile_failure/multiple_contracts/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/multiple_contracts/Nargo.toml @@ -2,6 +2,4 @@ name = "multiple_contracts" type = "contract" authors = [""] -compiler_version = "0.9.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/compile_failure/multiple_primary_attributes_fail/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/multiple_primary_attributes_fail/Nargo.toml index 7e699d4bbe0..9aa843d16dc 100644 --- a/tooling/nargo_cli/tests/compile_failure/multiple_primary_attributes_fail/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/multiple_primary_attributes_fail/Nargo.toml @@ -2,6 +2,4 @@ name = "multiple_primary_attributes_fail" type = "bin" authors = [""] -compiler_version = "0.9.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/mutability_regression_2911/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/mutability_regression_2911/Nargo.toml index 5136fad35ce..05db8252f3b 100644 --- a/tooling/nargo_cli/tests/compile_failure/mutability_regression_2911/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/mutability_regression_2911/Nargo.toml @@ -2,6 +2,4 @@ name = "mutability_regression_2911" type = "bin" authors = [""] -compiler_version = "0.9.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/compile_failure/orphaned_trait_impl/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/orphaned_trait_impl/Nargo.toml index 47df960cc33..89f30bb1ba5 100644 --- a/tooling/nargo_cli/tests/compile_failure/orphaned_trait_impl/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/orphaned_trait_impl/Nargo.toml @@ -2,8 +2,6 @@ name = "orphaned_trait_impl" type = "bin" authors = [""] -compiler_version = "0.12.0" - [dependencies] crate1 = { path = "crate1" } crate2 = { path = "crate2" } diff --git a/tooling/nargo_cli/tests/compile_failure/orphaned_trait_impl/crate1/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/orphaned_trait_impl/crate1/Nargo.toml index b28e0e840c4..de1eddf2cf0 100644 --- a/tooling/nargo_cli/tests/compile_failure/orphaned_trait_impl/crate1/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/orphaned_trait_impl/crate1/Nargo.toml @@ -2,6 +2,4 @@ name = "crate1" type = "lib" authors = [""] -compiler_version = "0.12.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/orphaned_trait_impl/crate2/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/orphaned_trait_impl/crate2/Nargo.toml index a90a5dcceea..c86c5edf51a 100644 --- a/tooling/nargo_cli/tests/compile_failure/orphaned_trait_impl/crate2/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/orphaned_trait_impl/crate2/Nargo.toml @@ -2,6 +2,4 @@ name = "crate2" type = "lib" authors = [""] -compiler_version = "0.12.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/overflowing_assignment/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/overflowing_assignment/Nargo.toml index 25bdea70129..612e3e7aaf6 100644 --- a/tooling/nargo_cli/tests/compile_failure/overflowing_assignment/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/overflowing_assignment/Nargo.toml @@ -2,6 +2,4 @@ name = "overflowing_assignment" type = "bin" authors = [""] -compiler_version = "0.9.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/overlapping_generic_impls/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/overlapping_generic_impls/Nargo.toml index e48565a2111..a279bfb053a 100644 --- a/tooling/nargo_cli/tests/compile_failure/overlapping_generic_impls/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/overlapping_generic_impls/Nargo.toml @@ -2,6 +2,4 @@ name = "overlapping_generic_impls" type = "bin" authors = [""] -compiler_version = "0.18.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/package_name_empty/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/package_name_empty/Nargo.toml index 7c4dbd0c994..88382674780 100644 --- a/tooling/nargo_cli/tests/compile_failure/package_name_empty/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/package_name_empty/Nargo.toml @@ -2,6 +2,4 @@ name = "" type = "bin" authors = [""] -compiler_version = "0.9.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/compile_failure/package_name_hyphen/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/package_name_hyphen/Nargo.toml index f8d0a85db4a..4882b83b8bf 100644 --- a/tooling/nargo_cli/tests/compile_failure/package_name_hyphen/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/package_name_hyphen/Nargo.toml @@ -2,6 +2,4 @@ name = "hyphenated-name" type = "bin" authors = [""] -compiler_version = "0.9.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/compile_failure/primary_attribute_struct/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/primary_attribute_struct/Nargo.toml index 872c8f2030d..7c5e7f70774 100644 --- a/tooling/nargo_cli/tests/compile_failure/primary_attribute_struct/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/primary_attribute_struct/Nargo.toml @@ -3,6 +3,5 @@ name = "primary_attribute_struct" type = "bin" authors = [""] -compiler_version = "0.11.1" [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/radix_non_constant_length/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/radix_non_constant_length/Nargo.toml index b8b1a2417dc..349698cc32d 100644 --- a/tooling/nargo_cli/tests/compile_failure/radix_non_constant_length/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/radix_non_constant_length/Nargo.toml @@ -2,6 +2,5 @@ name = "radix_non_constant_length" type = "bin" authors = [""] -compiler_version = "0.10.2" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_failure/slice_access_failure/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/slice_access_failure/Nargo.toml index fee471dffd7..fc159b7efc1 100644 --- a/tooling/nargo_cli/tests/compile_failure/slice_access_failure/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/slice_access_failure/Nargo.toml @@ -2,6 +2,5 @@ name = "slice_access_failure" type = "bin" authors = [""] -compiler_version = "0.10.2" [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/slice_insert_failure/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/slice_insert_failure/Nargo.toml index fc7eb87be49..5134032264c 100644 --- a/tooling/nargo_cli/tests/compile_failure/slice_insert_failure/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/slice_insert_failure/Nargo.toml @@ -2,6 +2,4 @@ name = "slice_insert_failure" type = "bin" authors = [""] -compiler_version = "0.12.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/slice_remove_failure/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/slice_remove_failure/Nargo.toml index 795a4d863cb..1e13dfe6483 100644 --- a/tooling/nargo_cli/tests/compile_failure/slice_remove_failure/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/slice_remove_failure/Nargo.toml @@ -2,6 +2,4 @@ name = "slice_remove_failure" type = "bin" authors = [""] -compiler_version = "0.12.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_failure/workspace_fail/crates/a/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/workspace_fail/crates/a/Nargo.toml index 411f048a93b..8d0e1aca4a9 100644 --- a/tooling/nargo_cli/tests/compile_failure/workspace_fail/crates/a/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/workspace_fail/crates/a/Nargo.toml @@ -2,6 +2,4 @@ name = "a" type = "bin" authors = [""] -compiler_version = "0.8.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/compile_failure/workspace_fail/crates/b/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/workspace_fail/crates/b/Nargo.toml index 1af8ef961cc..f316511340f 100644 --- a/tooling/nargo_cli/tests/compile_failure/workspace_fail/crates/b/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/workspace_fail/crates/b/Nargo.toml @@ -2,6 +2,4 @@ name = "b" type = "bin" authors = [""] -compiler_version = "0.8.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/compile_failure/workspace_missing_toml/crates/b/Nargo.toml b/tooling/nargo_cli/tests/compile_failure/workspace_missing_toml/crates/b/Nargo.toml index 1af8ef961cc..f316511340f 100644 --- a/tooling/nargo_cli/tests/compile_failure/workspace_missing_toml/crates/b/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_failure/workspace_missing_toml/crates/b/Nargo.toml @@ -2,6 +2,4 @@ name = "b" type = "bin" authors = [""] -compiler_version = "0.8.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_contract/contract_with_impl/Nargo.toml b/tooling/nargo_cli/tests/compile_success_contract/contract_with_impl/Nargo.toml index 99340cf80b5..ed5e9ec0910 100644 --- a/tooling/nargo_cli/tests/compile_success_contract/contract_with_impl/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_contract/contract_with_impl/Nargo.toml @@ -2,7 +2,6 @@ name = "simple_contract" type = "contract" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_contract/non_entry_point_method/Nargo.toml b/tooling/nargo_cli/tests/compile_success_contract/non_entry_point_method/Nargo.toml index c17e430c703..fb1969acc43 100644 --- a/tooling/nargo_cli/tests/compile_success_contract/non_entry_point_method/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_contract/non_entry_point_method/Nargo.toml @@ -2,6 +2,5 @@ name = "no_entry_points" type = "contract" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_contract/simple_contract/Nargo.toml b/tooling/nargo_cli/tests/compile_success_contract/simple_contract/Nargo.toml index 99340cf80b5..ed5e9ec0910 100644 --- a/tooling/nargo_cli/tests/compile_success_contract/simple_contract/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_contract/simple_contract/Nargo.toml @@ -2,7 +2,6 @@ name = "simple_contract" type = "contract" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/attributes_multiple/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/attributes_multiple/Nargo.toml index 96b221d6c9b..78b0e5b7b18 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/attributes_multiple/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/attributes_multiple/Nargo.toml @@ -2,6 +2,5 @@ name = "attributes_multiple" type = "bin" authors = [""] -compiler_version = "0.10.5" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/attributes_struct/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/attributes_struct/Nargo.toml index 0f00e7d9c73..e05ccb8d925 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/attributes_struct/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/attributes_struct/Nargo.toml @@ -2,6 +2,5 @@ name = "attributes_struct" type = "bin" authors = [""] -compiler_version = "0.11.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/auto_deref/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/auto_deref/Nargo.toml index cc1c9a8d8f7..ed2a51c0fb0 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/auto_deref/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/auto_deref/Nargo.toml @@ -2,6 +2,4 @@ name = "auto_deref" type = "bin" authors = [""] -compiler_version = "0.16.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_success_empty/brillig_cast/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/brillig_cast/Nargo.toml index 7c5aebabb95..cb5a7f3f2bd 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/brillig_cast/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/brillig_cast/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_cast" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/brillig_field_binary_operations/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/brillig_field_binary_operations/Nargo.toml index a8e7cd167d2..fb17e881f4c 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/brillig_field_binary_operations/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/brillig_field_binary_operations/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_field_binary_operations" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/brillig_integer_binary_operations/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/brillig_integer_binary_operations/Nargo.toml index 09b851e7c5c..cd550ce0252 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/brillig_integer_binary_operations/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/brillig_integer_binary_operations/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_integer_binary_operations" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/brillig_modulo/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/brillig_modulo/Nargo.toml index b27417dba8f..7bac4a06607 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/brillig_modulo/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/brillig_modulo/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_modulo" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/brillig_to_bits/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/brillig_to_bits/Nargo.toml index 6c62900468a..a18b769550d 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/brillig_to_bits/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/brillig_to_bits/Nargo.toml @@ -2,6 +2,4 @@ name = "brillig_to_bits" type = "bin" authors = [""] -compiler_version = "0.7.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/closure_explicit_types/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/closure_explicit_types/Nargo.toml index 0ff85ab80bb..86ddff27910 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/closure_explicit_types/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/closure_explicit_types/Nargo.toml @@ -2,6 +2,5 @@ name = "closure_explicit_types" type = "bin" authors = [""] -compiler_version = "0.10.3" [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_success_empty/comptime_recursion_regression/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/comptime_recursion_regression/Nargo.toml index 6ded8f92d55..74710a6ac2a 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/comptime_recursion_regression/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/comptime_recursion_regression/Nargo.toml @@ -2,6 +2,5 @@ name = "comptime_recursion_regression" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/comptime_sort/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/comptime_sort/Nargo.toml index 15221af78c8..7d215a22496 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/comptime_sort/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/comptime_sort/Nargo.toml @@ -2,6 +2,4 @@ name = "comptime_sort" type = "bin" authors = [""] -compiler_version = "0.6.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/conditional_regression_547/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/conditional_regression_547/Nargo.toml index 2729aca911c..1a62c5af20c 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/conditional_regression_547/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/conditional_regression_547/Nargo.toml @@ -2,6 +2,5 @@ name = "conditional_regression_547" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/conditional_regression_579/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/conditional_regression_579/Nargo.toml index fab92005fba..b440cb26e46 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/conditional_regression_579/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/conditional_regression_579/Nargo.toml @@ -2,6 +2,5 @@ name = "conditional_regression_579" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/conditional_regression_to_bits/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/conditional_regression_to_bits/Nargo.toml index e886f083a6c..f2b13c4d547 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/conditional_regression_to_bits/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/conditional_regression_to_bits/Nargo.toml @@ -2,6 +2,5 @@ name = "conditional_regression_to_bits" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/ec_baby_jubjub/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/ec_baby_jubjub/Nargo.toml index 178be37f780..fdb0df17112 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/ec_baby_jubjub/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/ec_baby_jubjub/Nargo.toml @@ -3,6 +3,5 @@ name = "ec_baby_jubjub" description = "Baby Jubjub sanity checks" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/generators/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/generators/Nargo.toml index 0f05b6e5759..58d8a993e16 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/generators/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/generators/Nargo.toml @@ -2,6 +2,5 @@ name = "generators" type = "bin" authors = [""] -compiler_version = "0.10.3" [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_success_empty/higher_order_fn_selector/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/higher_order_fn_selector/Nargo.toml index 09a0e342a71..968fc5300e6 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/higher_order_fn_selector/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/higher_order_fn_selector/Nargo.toml @@ -2,6 +2,4 @@ name = "higher_order_fn_selector" type = "bin" authors = [""] -compiler_version = "0.8.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/impl_with_where_clause/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/impl_with_where_clause/Nargo.toml index 070af7d82c2..ef9bdce2640 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/impl_with_where_clause/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/impl_with_where_clause/Nargo.toml @@ -2,6 +2,5 @@ name = "impl_with_where_clause" type = "bin" authors = [""] -compiler_version = "0.10.5" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/inner_outer_cl/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/inner_outer_cl/Nargo.toml index 25722866d9b..073456fa7f6 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/inner_outer_cl/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/inner_outer_cl/Nargo.toml @@ -2,6 +2,5 @@ name = "inner_outer_cl" type = "bin" authors = [""] -compiler_version = "0.7.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/instruction_deduplication/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/instruction_deduplication/Nargo.toml index 615bc6254e2..4786a87ff65 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/instruction_deduplication/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/instruction_deduplication/Nargo.toml @@ -2,6 +2,4 @@ name = "instruction_deduplication" type = "bin" authors = [""] -compiler_version = "0.8.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/intrinsic_die/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/intrinsic_die/Nargo.toml index 60e0310eab2..539c536b944 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/intrinsic_die/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/intrinsic_die/Nargo.toml @@ -2,6 +2,4 @@ name = "intrinsic_die" type = "bin" authors = [""] -compiler_version = "0.6.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/let_stmt/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/let_stmt/Nargo.toml index 45f9a53edeb..def6e33b39a 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/let_stmt/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/let_stmt/Nargo.toml @@ -2,6 +2,4 @@ name = "let_stmt" type = "bin" authors = [""] -compiler_version = "0.8.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/main_return/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/main_return/Nargo.toml index c4224b7e23c..793ae612730 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/main_return/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/main_return/Nargo.toml @@ -2,6 +2,5 @@ name = "main_return" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/numeric_generics/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/numeric_generics/Nargo.toml index c8a3ce73a5e..835c945c3b8 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/numeric_generics/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/numeric_generics/Nargo.toml @@ -2,6 +2,5 @@ name = "numeric_generics" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/option/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/option/Nargo.toml index 553efccd746..d9bec3c3096 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/option/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/option/Nargo.toml @@ -2,6 +2,4 @@ name = "option" type = "bin" authors = [""] -compiler_version = "0.7.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/references_aliasing/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/references_aliasing/Nargo.toml index b95c3998483..0310e55ed7e 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/references_aliasing/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/references_aliasing/Nargo.toml @@ -2,6 +2,5 @@ name = "references_aliasing" type = "bin" authors = [""] -compiler_version = "0.5.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/regression_2099/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/regression_2099/Nargo.toml index 3e995a0acd6..6b9f9a24038 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/regression_2099/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/regression_2099/Nargo.toml @@ -2,6 +2,4 @@ name = "regression_2099" type = "bin" authors = [""] -compiler_version = "0.9.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/ret_fn_ret_cl/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/ret_fn_ret_cl/Nargo.toml index 4e1b06d927f..4f778574417 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/ret_fn_ret_cl/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/ret_fn_ret_cl/Nargo.toml @@ -2,6 +2,5 @@ name = "ret_fn_ret_cl" type = "bin" authors = [""] -compiler_version = "0.7.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/simple_array_param/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/simple_array_param/Nargo.toml index 9874c8cb6a8..4f1811cc669 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/simple_array_param/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/simple_array_param/Nargo.toml @@ -2,6 +2,4 @@ name = "simple_array_param" type = "bin" authors = [""] -compiler_version = "0.6.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/simple_program_no_body/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/simple_program_no_body/Nargo.toml index f35a196ab59..13178336eea 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/simple_program_no_body/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/simple_program_no_body/Nargo.toml @@ -2,6 +2,5 @@ name = "simple_program_no_body" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/simple_range/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/simple_range/Nargo.toml index 864cd03beb3..1db9099be7e 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/simple_range/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/simple_range/Nargo.toml @@ -2,6 +2,5 @@ name = "simple_range" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/specialization/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/specialization/Nargo.toml index df379491dc9..aaccd85a444 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/specialization/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/specialization/Nargo.toml @@ -2,6 +2,4 @@ name = "specialization" type = "bin" authors = [""] -compiler_version = "0.16.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_success_empty/str_as_bytes/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/str_as_bytes/Nargo.toml index 31f7ab5d9b4..6b9bbd9b65f 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/str_as_bytes/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/str_as_bytes/Nargo.toml @@ -2,6 +2,4 @@ name = "str_as_bytes" type = "bin" authors = [""] -compiler_version = "0.9.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_success_empty/to_bits/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/to_bits/Nargo.toml index 9fe822eca93..ef47f3b4ba1 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/to_bits/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/to_bits/Nargo.toml @@ -2,6 +2,4 @@ name = "to_bits" type = "bin" authors = [""] -compiler_version = "0.7.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/trait_allowed_item_name_matches/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/trait_allowed_item_name_matches/Nargo.toml index 459cf96bab7..bd31596297a 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/trait_allowed_item_name_matches/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/trait_allowed_item_name_matches/Nargo.toml @@ -2,6 +2,4 @@ name = "trait_allowed_item_name_matches" type = "bin" authors = [""] -compiler_version = "0.15.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_success_empty/trait_associated_member_names_clashes/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/trait_associated_member_names_clashes/Nargo.toml index 585dcde7351..79d78c1aa51 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/trait_associated_member_names_clashes/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/trait_associated_member_names_clashes/Nargo.toml @@ -2,6 +2,4 @@ name = "trait_associated_member_names_clashes" type = "bin" authors = [""] -compiler_version = "0.16.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_success_empty/trait_default_implementation/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/trait_default_implementation/Nargo.toml index 7fcb4d0281e..938e224ec02 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/trait_default_implementation/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/trait_default_implementation/Nargo.toml @@ -2,6 +2,5 @@ name = "trait_default_implementation" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/trait_function_calls/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/trait_function_calls/Nargo.toml index 74be9decefc..1bb7522d6e1 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/trait_function_calls/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/trait_function_calls/Nargo.toml @@ -2,6 +2,4 @@ name = "trait_function_calls" type = "bin" authors = [""] -compiler_version = "0.15.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_success_empty/trait_generics/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/trait_generics/Nargo.toml index 9da56eebf35..c1b5d0aaa6c 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/trait_generics/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/trait_generics/Nargo.toml @@ -2,6 +2,5 @@ name = "trait_generics" type = "bin" authors = [""] -compiler_version = "0.10.5" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/trait_multi_module_test/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/trait_multi_module_test/Nargo.toml index 89d83e18f66..efa176099cf 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/trait_multi_module_test/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/trait_multi_module_test/Nargo.toml @@ -2,6 +2,5 @@ name = "trait_multi_module_test" type = "bin" authors = [""] -compiler_version = "0.11.1" [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_success_empty/trait_override_implementation/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/trait_override_implementation/Nargo.toml index 7ab5a62b5ba..1ccf15adc14 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/trait_override_implementation/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/trait_override_implementation/Nargo.toml @@ -2,6 +2,5 @@ name = "trait_override_implementation" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/trait_self/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/trait_self/Nargo.toml index 0dfaea44862..71c541ccd4f 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/trait_self/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/trait_self/Nargo.toml @@ -2,6 +2,5 @@ name = "trait_self" type = "bin" authors = [""] -compiler_version = "0.10.5" [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_success_empty/trait_self/trait_self/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/trait_self/trait_self/Nargo.toml index 0dfaea44862..71c541ccd4f 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/trait_self/trait_self/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/trait_self/trait_self/Nargo.toml @@ -2,6 +2,5 @@ name = "trait_self" type = "bin" authors = [""] -compiler_version = "0.10.5" [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_success_empty/trait_where_clause/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/trait_where_clause/Nargo.toml index 9f17579976b..1bbde8bfd79 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/trait_where_clause/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/trait_where_clause/Nargo.toml @@ -2,6 +2,5 @@ name = "trait_where_clause" type = "bin" authors = [""] -compiler_version = "0.11.1" [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_success_empty/traits/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/traits/Nargo.toml index 75fb80c4bfa..a33e8681807 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/traits/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/traits/Nargo.toml @@ -2,6 +2,5 @@ name = "traits" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/unary_operators/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/unary_operators/Nargo.toml index 65ad7c1c70c..8ab6f708b8a 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/unary_operators/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/unary_operators/Nargo.toml @@ -2,6 +2,5 @@ name = "unary_operators" type = "bin" authors = [""] -compiler_version = "0.10.3" [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/compile_success_empty/unconstrained_empty/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/unconstrained_empty/Nargo.toml index a42660e8bb7..48d0f5938d8 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/unconstrained_empty/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/unconstrained_empty/Nargo.toml @@ -2,6 +2,4 @@ name = "unconstrained_empty" type = "bin" authors = [""] -compiler_version = "0.6.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/unit/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/unit/Nargo.toml index 35fcd4bf339..7a15bd803c0 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/unit/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/unit/Nargo.toml @@ -2,6 +2,5 @@ name = "unit" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/unused_variables/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/unused_variables/Nargo.toml index 61456b3a320..1447f07d81d 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/unused_variables/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/unused_variables/Nargo.toml @@ -2,6 +2,5 @@ name = "unused_variables" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/compile_success_empty/vectors/Nargo.toml b/tooling/nargo_cli/tests/compile_success_empty/vectors/Nargo.toml index f628d5e27e1..e4c3889c685 100644 --- a/tooling/nargo_cli/tests/compile_success_empty/vectors/Nargo.toml +++ b/tooling/nargo_cli/tests/compile_success_empty/vectors/Nargo.toml @@ -2,6 +2,5 @@ name = "vectors" type = "bin" authors = [""] -compiler_version = "0.7.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/1327_concrete_in_generic/Nargo.toml b/tooling/nargo_cli/tests/execution_success/1327_concrete_in_generic/Nargo.toml index 0ccf7ff8c9c..3adf969538c 100644 --- a/tooling/nargo_cli/tests/execution_success/1327_concrete_in_generic/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/1327_concrete_in_generic/Nargo.toml @@ -2,6 +2,4 @@ name = "1327_concrete_in_generic" type = "bin" authors = [""] -compiler_version = "0.6.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/1_mul/Nargo.toml b/tooling/nargo_cli/tests/execution_success/1_mul/Nargo.toml index 29053e36f7c..a0fd8d98027 100644 --- a/tooling/nargo_cli/tests/execution_success/1_mul/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/1_mul/Nargo.toml @@ -2,6 +2,5 @@ name = "1_mul" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/2_div/Nargo.toml b/tooling/nargo_cli/tests/execution_success/2_div/Nargo.toml index 6b28c58bea2..f689c97f760 100644 --- a/tooling/nargo_cli/tests/execution_success/2_div/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/2_div/Nargo.toml @@ -2,6 +2,5 @@ name = "2_div" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/3_add/Nargo.toml b/tooling/nargo_cli/tests/execution_success/3_add/Nargo.toml index dca0a0d9931..0bd2caef024 100644 --- a/tooling/nargo_cli/tests/execution_success/3_add/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/3_add/Nargo.toml @@ -2,6 +2,5 @@ name = "3_add" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/4_sub/Nargo.toml b/tooling/nargo_cli/tests/execution_success/4_sub/Nargo.toml index 149c3a6f7e5..b282bfe6287 100644 --- a/tooling/nargo_cli/tests/execution_success/4_sub/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/4_sub/Nargo.toml @@ -2,6 +2,5 @@ name = "4_sub" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/5_over/Nargo.toml b/tooling/nargo_cli/tests/execution_success/5_over/Nargo.toml index a59347066c9..dd9a21b44bf 100644 --- a/tooling/nargo_cli/tests/execution_success/5_over/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/5_over/Nargo.toml @@ -2,6 +2,5 @@ name = "5_over" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/6/Nargo.toml b/tooling/nargo_cli/tests/execution_success/6/Nargo.toml index b0353fb6ae5..9774a5d8c47 100644 --- a/tooling/nargo_cli/tests/execution_success/6/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/6/Nargo.toml @@ -2,6 +2,5 @@ name = "6" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/6_array/Nargo.toml b/tooling/nargo_cli/tests/execution_success/6_array/Nargo.toml index 4a6d8e1f401..c75df3e468e 100644 --- a/tooling/nargo_cli/tests/execution_success/6_array/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/6_array/Nargo.toml @@ -2,6 +2,5 @@ name = "6_array" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/7/Nargo.toml b/tooling/nargo_cli/tests/execution_success/7/Nargo.toml index 9321253ec03..f69f89468d7 100644 --- a/tooling/nargo_cli/tests/execution_success/7/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/7/Nargo.toml @@ -2,6 +2,5 @@ name = "7" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/7_function/Nargo.toml b/tooling/nargo_cli/tests/execution_success/7_function/Nargo.toml index ea899378643..cec14ff7d6a 100644 --- a/tooling/nargo_cli/tests/execution_success/7_function/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/7_function/Nargo.toml @@ -2,6 +2,5 @@ name = "7_function" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/arithmetic_binary_operations/Nargo.toml b/tooling/nargo_cli/tests/execution_success/arithmetic_binary_operations/Nargo.toml index 7bacc45d7d1..c9160aa2592 100644 --- a/tooling/nargo_cli/tests/execution_success/arithmetic_binary_operations/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/arithmetic_binary_operations/Nargo.toml @@ -2,6 +2,5 @@ name = "arithmetic_binary_operations" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/array_dynamic/Nargo.toml b/tooling/nargo_cli/tests/execution_success/array_dynamic/Nargo.toml index 17b38706704..25684b00377 100644 --- a/tooling/nargo_cli/tests/execution_success/array_dynamic/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/array_dynamic/Nargo.toml @@ -2,6 +2,5 @@ name = "array_dynamic" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/array_eq/Nargo.toml b/tooling/nargo_cli/tests/execution_success/array_eq/Nargo.toml index 4a9bd6293c0..1020d4905b1 100644 --- a/tooling/nargo_cli/tests/execution_success/array_eq/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/array_eq/Nargo.toml @@ -2,6 +2,5 @@ name = "array_eq" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/array_len/Nargo.toml b/tooling/nargo_cli/tests/execution_success/array_len/Nargo.toml index b54cea7cc17..24ac6ff7f13 100644 --- a/tooling/nargo_cli/tests/execution_success/array_len/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/array_len/Nargo.toml @@ -2,6 +2,5 @@ name = "array_len" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/array_neq/Nargo.toml b/tooling/nargo_cli/tests/execution_success/array_neq/Nargo.toml index 0539cceb542..2e4bbdf97ee 100644 --- a/tooling/nargo_cli/tests/execution_success/array_neq/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/array_neq/Nargo.toml @@ -2,6 +2,5 @@ name = "array_neq" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/array_sort/Nargo.toml b/tooling/nargo_cli/tests/execution_success/array_sort/Nargo.toml index f5f469c5a5f..28e9c65a0dc 100644 --- a/tooling/nargo_cli/tests/execution_success/array_sort/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/array_sort/Nargo.toml @@ -2,6 +2,4 @@ name = "array_sort" type = "bin" authors = [""] -compiler_version = "0.6.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/assert/Nargo.toml b/tooling/nargo_cli/tests/execution_success/assert/Nargo.toml index 17ed9362bef..7780d53459e 100644 --- a/tooling/nargo_cli/tests/execution_success/assert/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/assert/Nargo.toml @@ -2,6 +2,5 @@ name = "assert" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/assert_statement/Nargo.toml b/tooling/nargo_cli/tests/execution_success/assert_statement/Nargo.toml index 641cb1b00e0..c6a1daaed19 100644 --- a/tooling/nargo_cli/tests/execution_success/assert_statement/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/assert_statement/Nargo.toml @@ -2,6 +2,5 @@ name = "assert_statement" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/assign_ex/Nargo.toml b/tooling/nargo_cli/tests/execution_success/assign_ex/Nargo.toml index 2ca969eeb93..4ef7b3aa5a6 100644 --- a/tooling/nargo_cli/tests/execution_success/assign_ex/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/assign_ex/Nargo.toml @@ -2,6 +2,5 @@ name = "assign_ex" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/bit_and/Nargo.toml b/tooling/nargo_cli/tests/execution_success/bit_and/Nargo.toml index 71a98db6635..e9a28577079 100644 --- a/tooling/nargo_cli/tests/execution_success/bit_and/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/bit_and/Nargo.toml @@ -2,6 +2,5 @@ name = "bit_and" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/bit_shifts_comptime/Nargo.toml b/tooling/nargo_cli/tests/execution_success/bit_shifts_comptime/Nargo.toml index 9b7aa319406..81272be4e98 100644 --- a/tooling/nargo_cli/tests/execution_success/bit_shifts_comptime/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/bit_shifts_comptime/Nargo.toml @@ -2,6 +2,5 @@ name = "bit_shifts_comptime" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/bit_shifts_runtime/Nargo.toml b/tooling/nargo_cli/tests/execution_success/bit_shifts_runtime/Nargo.toml index 3f9058f1946..f60c7dbe658 100644 --- a/tooling/nargo_cli/tests/execution_success/bit_shifts_runtime/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/bit_shifts_runtime/Nargo.toml @@ -2,6 +2,5 @@ name = "bit_shifts_runtime" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/bool_not/Nargo.toml b/tooling/nargo_cli/tests/execution_success/bool_not/Nargo.toml index c2521450344..fe42e1efa11 100644 --- a/tooling/nargo_cli/tests/execution_success/bool_not/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/bool_not/Nargo.toml @@ -2,6 +2,5 @@ name = "bool_not" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/bool_or/Nargo.toml b/tooling/nargo_cli/tests/execution_success/bool_or/Nargo.toml index a878c1acb38..e139a7a2947 100644 --- a/tooling/nargo_cli/tests/execution_success/bool_or/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/bool_or/Nargo.toml @@ -2,6 +2,5 @@ name = "bool_or" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_acir_as_brillig/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_acir_as_brillig/Nargo.toml index 42b3c71aad3..aef4fd56d4f 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_acir_as_brillig/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_acir_as_brillig/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_acir_as_brillig" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_arrays/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_arrays/Nargo.toml index abaa6680f84..a4433e380a9 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_arrays/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_arrays/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_arrays" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_assert/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_assert/Nargo.toml index c6a27b47e79..b7d9231ab75 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_assert/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_assert/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_assert" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_blake2s/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_blake2s/Nargo.toml index 8fc7df96fc3..a497b6f48cc 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_blake2s/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_blake2s/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_blake2s" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_calls/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_calls/Nargo.toml index 9b6b4bd357b..7cc53a33a8a 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_calls/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_calls/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_calls" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_calls_array/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_calls_array/Nargo.toml index 0c60f6218eb..e360f2d6338 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_calls_array/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_calls_array/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_calls_array" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_calls_conditionals/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_calls_conditionals/Nargo.toml index f99445381d3..1553cd525ff 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_calls_conditionals/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_calls_conditionals/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_calls_conditionals" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_conditional/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_conditional/Nargo.toml index 7432f303349..6a8be620fee 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_conditional/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_conditional/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_conditional" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_ecdsa/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_ecdsa/Nargo.toml index 96ffe8f1c92..972dd9ce93b 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_ecdsa/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_ecdsa/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_ecdsa" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_fns_as_values/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_fns_as_values/Nargo.toml index fd94bfb3a60..decd9a9412a 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_fns_as_values/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_fns_as_values/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_fns_as_values" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_hash_to_field/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_hash_to_field/Nargo.toml index a7d75459f7e..7cfcc745f0d 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_hash_to_field/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_hash_to_field/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_hash_to_field" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_identity_function/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_identity_function/Nargo.toml index 1c7603a5660..8196884fe2b 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_identity_function/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_identity_function/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_identity_function" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_keccak/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_keccak/Nargo.toml index 358c7c63a60..8cacf2186b8 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_keccak/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_keccak/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_keccak" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_loop/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_loop/Nargo.toml index c43a806784a..1212397c4db 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_loop/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_loop/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_loop" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_nested_arrays/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_nested_arrays/Nargo.toml index 4ce5518efb5..c36c8a0a2bd 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_nested_arrays/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_nested_arrays/Nargo.toml @@ -2,6 +2,4 @@ name = "brillig_nested_arrays" type = "bin" authors = [""] -compiler_version = "0.6.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_nested_slices/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_nested_slices/Nargo.toml index 3a558b737d8..d84338cdbb4 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_nested_slices/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_nested_slices/Nargo.toml @@ -2,6 +2,4 @@ name = "brillig_nested_slices" type = "bin" authors = [""] -compiler_version = "0.6.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_not/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_not/Nargo.toml index 38a0872adfb..ef882ea8da0 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_not/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_not/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_not" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_oracle/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_oracle/Nargo.toml index 0b03be79ef8..13bd913cef7 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_oracle/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_oracle/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_oracle" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_pedersen/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_pedersen/Nargo.toml index f6f34dcc650..6327caa0a09 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_pedersen/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_pedersen/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_pedersen" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_recursion/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_recursion/Nargo.toml index 32dd1a6c858..087eeefd5ac 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_recursion/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_recursion/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_recursion" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_references/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_references/Nargo.toml index 7f47fab9d9a..0f64b862ba0 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_references/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_references/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_references" type = "bin" authors = [""] -compiler_version = "0.5.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_scalar_mul/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_scalar_mul/Nargo.toml index a580584f7f9..eefd041b899 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_scalar_mul/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_scalar_mul/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_scalar_mul" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_schnorr/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_schnorr/Nargo.toml index 3defa68f561..1b598abbf74 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_schnorr/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_schnorr/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_schnorr" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_sha256/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_sha256/Nargo.toml index 6aebe1ed5ad..7140fa0fd0b 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_sha256/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_sha256/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_sha256" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_slices/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_slices/Nargo.toml index 51d81efb6ae..5f6caad088a 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_slices/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_slices/Nargo.toml @@ -2,6 +2,4 @@ name = "brillig_slices" type = "bin" authors = [""] -compiler_version = "0.6.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_to_be_bytes/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_to_be_bytes/Nargo.toml index 21c5104e6a8..df6c818c90f 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_to_be_bytes/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_to_be_bytes/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_to_be_bytes" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_to_bytes_integration/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_to_bytes_integration/Nargo.toml index 10c2abeee29..991f3d1e46c 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_to_bytes_integration/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_to_bytes_integration/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_to_bytes_integration" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_to_le_bytes/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_to_le_bytes/Nargo.toml index e1ba633bff1..c2ce8ad01b5 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_to_le_bytes/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_to_le_bytes/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_to_le_bytes" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_top_level/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_top_level/Nargo.toml index 79686cab2ea..f74a2a82964 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_top_level/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_top_level/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_top_level" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/brillig_unitialised_arrays/Nargo.toml b/tooling/nargo_cli/tests/execution_success/brillig_unitialised_arrays/Nargo.toml index c7045d0b816..f23ecc787d0 100644 --- a/tooling/nargo_cli/tests/execution_success/brillig_unitialised_arrays/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/brillig_unitialised_arrays/Nargo.toml @@ -2,6 +2,5 @@ name = "brillig_unitialised_arrays" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/cast_bool/Nargo.toml b/tooling/nargo_cli/tests/execution_success/cast_bool/Nargo.toml index 65a878d776a..6571019494e 100644 --- a/tooling/nargo_cli/tests/execution_success/cast_bool/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/cast_bool/Nargo.toml @@ -2,6 +2,5 @@ name = "cast_bool" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/closures_mut_ref/Nargo.toml b/tooling/nargo_cli/tests/execution_success/closures_mut_ref/Nargo.toml index f70cde6f878..01936c7be65 100644 --- a/tooling/nargo_cli/tests/execution_success/closures_mut_ref/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/closures_mut_ref/Nargo.toml @@ -2,6 +2,4 @@ name = "closures_mut_ref" type = "bin" authors = [""] -compiler_version = "0.8.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/conditional_1/Nargo.toml b/tooling/nargo_cli/tests/execution_success/conditional_1/Nargo.toml index af1efa03e82..28ca01332df 100644 --- a/tooling/nargo_cli/tests/execution_success/conditional_1/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/conditional_1/Nargo.toml @@ -2,6 +2,5 @@ name = "conditional_1" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/conditional_2/Nargo.toml b/tooling/nargo_cli/tests/execution_success/conditional_2/Nargo.toml index 1401a715eef..153c5d38b99 100644 --- a/tooling/nargo_cli/tests/execution_success/conditional_2/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/conditional_2/Nargo.toml @@ -2,6 +2,5 @@ name = "conditional_2" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/conditional_regression_421/Nargo.toml b/tooling/nargo_cli/tests/execution_success/conditional_regression_421/Nargo.toml index 9fddef0e86f..987b51ae126 100644 --- a/tooling/nargo_cli/tests/execution_success/conditional_regression_421/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/conditional_regression_421/Nargo.toml @@ -2,6 +2,5 @@ name = "conditional_regression_421" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/conditional_regression_661/Nargo.toml b/tooling/nargo_cli/tests/execution_success/conditional_regression_661/Nargo.toml index 902408f5d56..ed11341c5b0 100644 --- a/tooling/nargo_cli/tests/execution_success/conditional_regression_661/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/conditional_regression_661/Nargo.toml @@ -2,6 +2,5 @@ name = "conditional_regression_661" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/conditional_regression_short_circuit/Nargo.toml b/tooling/nargo_cli/tests/execution_success/conditional_regression_short_circuit/Nargo.toml index 24c16982cc4..92f5a869bc4 100644 --- a/tooling/nargo_cli/tests/execution_success/conditional_regression_short_circuit/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/conditional_regression_short_circuit/Nargo.toml @@ -2,6 +2,5 @@ name = "conditional_regression_short_circuit" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/custom_entry/Nargo.toml b/tooling/nargo_cli/tests/execution_success/custom_entry/Nargo.toml index a8cc75072b1..35cf2e080c1 100644 --- a/tooling/nargo_cli/tests/execution_success/custom_entry/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/custom_entry/Nargo.toml @@ -3,6 +3,5 @@ name = "custom_entry" type = "bin" entry = "src/foobarbaz.nr" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/debug_logs/Nargo.toml b/tooling/nargo_cli/tests/execution_success/debug_logs/Nargo.toml index edc03c152cf..9550d50cf15 100644 --- a/tooling/nargo_cli/tests/execution_success/debug_logs/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/debug_logs/Nargo.toml @@ -2,6 +2,4 @@ name = "debug_logs" type = "bin" authors = [""] -compiler_version = "0.8.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/diamond_deps_0/Nargo.toml b/tooling/nargo_cli/tests/execution_success/diamond_deps_0/Nargo.toml index 6b1dd65ba32..8b75d71ae12 100644 --- a/tooling/nargo_cli/tests/execution_success/diamond_deps_0/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/diamond_deps_0/Nargo.toml @@ -2,7 +2,6 @@ name = "diamond_deps_0" type = "bin" authors = [""] -compiler_version = "0.7.1" [dependencies] dep1 = { path = "../../test_libraries/diamond_deps_1" } diff --git a/tooling/nargo_cli/tests/execution_success/distinct_keyword/Nargo.toml b/tooling/nargo_cli/tests/execution_success/distinct_keyword/Nargo.toml index b7de54ea5cc..3f1b1386ba7 100644 --- a/tooling/nargo_cli/tests/execution_success/distinct_keyword/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/distinct_keyword/Nargo.toml @@ -2,6 +2,5 @@ name = "distinct_keyword" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/double_verify_proof/Nargo.toml b/tooling/nargo_cli/tests/execution_success/double_verify_proof/Nargo.toml index 61aaabfcf5b..a4edd2e4288 100644 --- a/tooling/nargo_cli/tests/execution_success/double_verify_proof/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/double_verify_proof/Nargo.toml @@ -2,6 +2,4 @@ name = "double_verify_proof" type = "bin" authors = [""] -compiler_version = "0.6.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/ecdsa_secp256k1/Nargo.toml b/tooling/nargo_cli/tests/execution_success/ecdsa_secp256k1/Nargo.toml index 0f8111dc9f6..58fdf96f0e3 100644 --- a/tooling/nargo_cli/tests/execution_success/ecdsa_secp256k1/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/ecdsa_secp256k1/Nargo.toml @@ -3,6 +3,5 @@ name = "ecdsa_secp256k1" description = "ECDSA secp256k1 verification" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/ecdsa_secp256r1/Nargo.toml b/tooling/nargo_cli/tests/execution_success/ecdsa_secp256r1/Nargo.toml index 738b049060a..87e8d529566 100644 --- a/tooling/nargo_cli/tests/execution_success/ecdsa_secp256r1/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/ecdsa_secp256r1/Nargo.toml @@ -3,6 +3,5 @@ name = "ecdsa_secp256r1" description = "ECDSA secp256r1 verification" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/eddsa/Nargo.toml b/tooling/nargo_cli/tests/execution_success/eddsa/Nargo.toml index 039da3a7074..0f545c2febc 100644 --- a/tooling/nargo_cli/tests/execution_success/eddsa/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/eddsa/Nargo.toml @@ -3,6 +3,5 @@ name = "eddsa" description = "Eddsa verification" type = "bin" authors = [""] -compiler_version = "0.3.2" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/field_attribute/Nargo.toml b/tooling/nargo_cli/tests/execution_success/field_attribute/Nargo.toml index f625d7e41f2..37487d0043c 100644 --- a/tooling/nargo_cli/tests/execution_success/field_attribute/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/field_attribute/Nargo.toml @@ -2,6 +2,5 @@ name = "field_attribute" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/generics/Nargo.toml b/tooling/nargo_cli/tests/execution_success/generics/Nargo.toml index 18bdae1ab08..19c8ff28ec7 100644 --- a/tooling/nargo_cli/tests/execution_success/generics/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/generics/Nargo.toml @@ -2,6 +2,5 @@ name = "generics" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/global_consts/Nargo.toml b/tooling/nargo_cli/tests/execution_success/global_consts/Nargo.toml index 2452ad8edb3..3b4d6be2353 100644 --- a/tooling/nargo_cli/tests/execution_success/global_consts/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/global_consts/Nargo.toml @@ -2,6 +2,5 @@ name = "global_consts" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/hash_to_field/Nargo.toml b/tooling/nargo_cli/tests/execution_success/hash_to_field/Nargo.toml index d78b59118f9..a00a7bdc050 100644 --- a/tooling/nargo_cli/tests/execution_success/hash_to_field/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/hash_to_field/Nargo.toml @@ -2,6 +2,5 @@ name = "hash_to_field" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/higher_order_functions/Nargo.toml b/tooling/nargo_cli/tests/execution_success/higher_order_functions/Nargo.toml index 9dc419d1678..8f8a79e7e83 100644 --- a/tooling/nargo_cli/tests/execution_success/higher_order_functions/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/higher_order_functions/Nargo.toml @@ -2,6 +2,5 @@ name = "higher_order_functions" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/if_else_chain/Nargo.toml b/tooling/nargo_cli/tests/execution_success/if_else_chain/Nargo.toml index fc5fffa2185..2f0dc93d120 100644 --- a/tooling/nargo_cli/tests/execution_success/if_else_chain/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/if_else_chain/Nargo.toml @@ -2,6 +2,5 @@ name = "if_else_chain" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/import/Nargo.toml b/tooling/nargo_cli/tests/execution_success/import/Nargo.toml index 858c2a29840..c92328f106c 100644 --- a/tooling/nargo_cli/tests/execution_success/import/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/import/Nargo.toml @@ -2,6 +2,5 @@ name = "import" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/integer_array_indexing/Nargo.toml b/tooling/nargo_cli/tests/execution_success/integer_array_indexing/Nargo.toml index 3cec63d465b..6e639b64f58 100644 --- a/tooling/nargo_cli/tests/execution_success/integer_array_indexing/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/integer_array_indexing/Nargo.toml @@ -2,6 +2,5 @@ name = "integer_array_indexing" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/keccak256/Nargo.toml b/tooling/nargo_cli/tests/execution_success/keccak256/Nargo.toml index ab1a04b7c07..7e48c3b342c 100644 --- a/tooling/nargo_cli/tests/execution_success/keccak256/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/keccak256/Nargo.toml @@ -2,6 +2,5 @@ name = "keccak256" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/main_bool_arg/Nargo.toml b/tooling/nargo_cli/tests/execution_success/main_bool_arg/Nargo.toml index 1a4e3657464..c1cedb6c657 100644 --- a/tooling/nargo_cli/tests/execution_success/main_bool_arg/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/main_bool_arg/Nargo.toml @@ -2,6 +2,5 @@ name = "main_bool_arg" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/merkle_insert/Nargo.toml b/tooling/nargo_cli/tests/execution_success/merkle_insert/Nargo.toml index 3eb97c30cac..f09458411d8 100644 --- a/tooling/nargo_cli/tests/execution_success/merkle_insert/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/merkle_insert/Nargo.toml @@ -2,6 +2,5 @@ name = "merkle_insert" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/mock_oracle/Nargo.toml b/tooling/nargo_cli/tests/execution_success/mock_oracle/Nargo.toml index f626c2967cc..b2916487e8c 100644 --- a/tooling/nargo_cli/tests/execution_success/mock_oracle/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/mock_oracle/Nargo.toml @@ -2,6 +2,5 @@ name = "mock_oracle" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/modules/Nargo.toml b/tooling/nargo_cli/tests/execution_success/modules/Nargo.toml index b4f9b469ea8..ab1d6e962d7 100644 --- a/tooling/nargo_cli/tests/execution_success/modules/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/modules/Nargo.toml @@ -2,6 +2,5 @@ name = "modules" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/modules_more/Nargo.toml b/tooling/nargo_cli/tests/execution_success/modules_more/Nargo.toml index 5acf61a71a7..bfcfe08fa79 100644 --- a/tooling/nargo_cli/tests/execution_success/modules_more/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/modules_more/Nargo.toml @@ -2,6 +2,5 @@ name = "modules_more" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/modulus/Nargo.toml b/tooling/nargo_cli/tests/execution_success/modulus/Nargo.toml index 5a1309a2a9d..256eeef058f 100644 --- a/tooling/nargo_cli/tests/execution_success/modulus/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/modulus/Nargo.toml @@ -2,6 +2,5 @@ name = "modulus" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/nested_array_dynamic/Nargo.toml b/tooling/nargo_cli/tests/execution_success/nested_array_dynamic/Nargo.toml index 5be06d0f8af..72642bebc15 100644 --- a/tooling/nargo_cli/tests/execution_success/nested_array_dynamic/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/nested_array_dynamic/Nargo.toml @@ -2,6 +2,5 @@ name = "nested_array_dynamic" type = "bin" authors = [""] -compiler_version = "0.11.1" [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/execution_success/nested_arrays_from_brillig/Nargo.toml b/tooling/nargo_cli/tests/execution_success/nested_arrays_from_brillig/Nargo.toml index bd5dfb8bef4..02d2e6e6a4e 100644 --- a/tooling/nargo_cli/tests/execution_success/nested_arrays_from_brillig/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/nested_arrays_from_brillig/Nargo.toml @@ -2,6 +2,4 @@ name = "nested_arrays_from_brillig" type = "bin" authors = [""] -compiler_version = "0.6.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/nested_slice_dynamic/Nargo.toml b/tooling/nargo_cli/tests/execution_success/nested_slice_dynamic/Nargo.toml index 00dfbffbe45..c8925ed97b4 100644 --- a/tooling/nargo_cli/tests/execution_success/nested_slice_dynamic/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/nested_slice_dynamic/Nargo.toml @@ -2,6 +2,4 @@ name = "nested_slice_dynamic" type = "bin" authors = [""] -compiler_version = "0.13.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/execution_success/pedersen_check/Nargo.toml b/tooling/nargo_cli/tests/execution_success/pedersen_check/Nargo.toml index 3fc0bd9b79e..65fd3b5cf59 100644 --- a/tooling/nargo_cli/tests/execution_success/pedersen_check/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/pedersen_check/Nargo.toml @@ -2,6 +2,5 @@ name = "pedersen_check" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/poseidon_bn254_hash/Nargo.toml b/tooling/nargo_cli/tests/execution_success/poseidon_bn254_hash/Nargo.toml index d23bb7cb919..a8e2b3d5a2c 100644 --- a/tooling/nargo_cli/tests/execution_success/poseidon_bn254_hash/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/poseidon_bn254_hash/Nargo.toml @@ -3,6 +3,5 @@ name = "poseidon_bn254_hash" description = "Poseidon 254-bit permutation test on 3 elements with alpha = 5" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/poseidonsponge_x5_254/Nargo.toml b/tooling/nargo_cli/tests/execution_success/poseidonsponge_x5_254/Nargo.toml index df1da360206..de4b1a44668 100644 --- a/tooling/nargo_cli/tests/execution_success/poseidonsponge_x5_254/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/poseidonsponge_x5_254/Nargo.toml @@ -3,6 +3,5 @@ name = "poseidonsponge_x5_254" description = "Variable-length Poseidon-128 sponge test on 7 elements with alpha = 5" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/pred_eq/Nargo.toml b/tooling/nargo_cli/tests/execution_success/pred_eq/Nargo.toml index ee6f7a28e0f..b5b4a9fdf61 100644 --- a/tooling/nargo_cli/tests/execution_success/pred_eq/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/pred_eq/Nargo.toml @@ -2,6 +2,5 @@ name = "pred_eq" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/references/Nargo.toml b/tooling/nargo_cli/tests/execution_success/references/Nargo.toml index b52fdcf77f0..c4be4d4218d 100644 --- a/tooling/nargo_cli/tests/execution_success/references/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/references/Nargo.toml @@ -2,6 +2,5 @@ name = "references" type = "bin" authors = [""] -compiler_version = "0.5.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/regression/Nargo.toml b/tooling/nargo_cli/tests/execution_success/regression/Nargo.toml index 91497e10342..0f6961c41d3 100644 --- a/tooling/nargo_cli/tests/execution_success/regression/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/regression/Nargo.toml @@ -2,6 +2,5 @@ name = "regression" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/regression_2854/Nargo.toml b/tooling/nargo_cli/tests/execution_success/regression_2854/Nargo.toml index 33bd007d898..fb2b3c42fdd 100644 --- a/tooling/nargo_cli/tests/execution_success/regression_2854/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/regression_2854/Nargo.toml @@ -2,6 +2,5 @@ name = "regression_2854" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/regression_mem_op_predicate/Nargo.toml b/tooling/nargo_cli/tests/execution_success/regression_mem_op_predicate/Nargo.toml index 0361b28fd1e..93a0ba6f25a 100644 --- a/tooling/nargo_cli/tests/execution_success/regression_mem_op_predicate/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/regression_mem_op_predicate/Nargo.toml @@ -2,6 +2,5 @@ name = "regression_mem_op_predicate" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/regression_method_cannot_be_found/Nargo.toml b/tooling/nargo_cli/tests/execution_success/regression_method_cannot_be_found/Nargo.toml index 9d9bb35778d..aed6aa06714 100644 --- a/tooling/nargo_cli/tests/execution_success/regression_method_cannot_be_found/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/regression_method_cannot_be_found/Nargo.toml @@ -2,6 +2,5 @@ name = "regression_method_cannot_be_found" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/scalar_mul/Nargo.toml b/tooling/nargo_cli/tests/execution_success/scalar_mul/Nargo.toml index 55bf6395b34..926114ec374 100644 --- a/tooling/nargo_cli/tests/execution_success/scalar_mul/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/scalar_mul/Nargo.toml @@ -2,6 +2,5 @@ name = "scalar_mul" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/schnorr/Nargo.toml b/tooling/nargo_cli/tests/execution_success/schnorr/Nargo.toml index 3ba59b7010e..aa24a2f3caf 100644 --- a/tooling/nargo_cli/tests/execution_success/schnorr/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/schnorr/Nargo.toml @@ -2,6 +2,5 @@ name = "schnorr" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/sha256/Nargo.toml b/tooling/nargo_cli/tests/execution_success/sha256/Nargo.toml index 97ca07f03d4..255d2156ef6 100644 --- a/tooling/nargo_cli/tests/execution_success/sha256/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/sha256/Nargo.toml @@ -2,6 +2,5 @@ name = "sha256" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/sha2_blocks/Nargo.toml b/tooling/nargo_cli/tests/execution_success/sha2_blocks/Nargo.toml index 9aa46c465e9..6fac5903538 100644 --- a/tooling/nargo_cli/tests/execution_success/sha2_blocks/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/sha2_blocks/Nargo.toml @@ -2,6 +2,5 @@ name = "sha2_blocks" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/sha2_byte/Nargo.toml b/tooling/nargo_cli/tests/execution_success/sha2_byte/Nargo.toml index 849b6220db7..efd691fce58 100644 --- a/tooling/nargo_cli/tests/execution_success/sha2_byte/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/sha2_byte/Nargo.toml @@ -2,6 +2,5 @@ name = "sha2_byte" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/signed_arithmetic/Nargo.toml b/tooling/nargo_cli/tests/execution_success/signed_arithmetic/Nargo.toml index 952e7d88a5a..47676a806e8 100644 --- a/tooling/nargo_cli/tests/execution_success/signed_arithmetic/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/signed_arithmetic/Nargo.toml @@ -2,6 +2,5 @@ name = "signed_arithmetic" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/signed_division/Nargo.toml b/tooling/nargo_cli/tests/execution_success/signed_division/Nargo.toml index c1dacecae02..0d631a00b05 100644 --- a/tooling/nargo_cli/tests/execution_success/signed_division/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/signed_division/Nargo.toml @@ -2,6 +2,5 @@ name = "signed_division" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/simple_2d_array/Nargo.toml b/tooling/nargo_cli/tests/execution_success/simple_2d_array/Nargo.toml index 033c9cf1c25..b6d22d82631 100644 --- a/tooling/nargo_cli/tests/execution_success/simple_2d_array/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/simple_2d_array/Nargo.toml @@ -2,6 +2,5 @@ name = "simple_2d_array" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/simple_add_and_ret_arr/Nargo.toml b/tooling/nargo_cli/tests/execution_success/simple_add_and_ret_arr/Nargo.toml index 9afb8c5fd5b..6c5b0e4ca9a 100644 --- a/tooling/nargo_cli/tests/execution_success/simple_add_and_ret_arr/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/simple_add_and_ret_arr/Nargo.toml @@ -2,6 +2,4 @@ name = "simple_add_and_ret_arr" type = "bin" authors = [""] -compiler_version = "0.6.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/simple_bitwise/Nargo.toml b/tooling/nargo_cli/tests/execution_success/simple_bitwise/Nargo.toml index c8fe1e06b4c..be425f22e5c 100644 --- a/tooling/nargo_cli/tests/execution_success/simple_bitwise/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/simple_bitwise/Nargo.toml @@ -2,6 +2,4 @@ name = "simple_bitwise" type = "bin" authors = [""] -compiler_version = "0.6.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/simple_comparison/Nargo.toml b/tooling/nargo_cli/tests/execution_success/simple_comparison/Nargo.toml index 840eb0a7e0b..06685628444 100644 --- a/tooling/nargo_cli/tests/execution_success/simple_comparison/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/simple_comparison/Nargo.toml @@ -2,6 +2,5 @@ name = "simple_comparison" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/simple_mut/Nargo.toml b/tooling/nargo_cli/tests/execution_success/simple_mut/Nargo.toml index b7b5c5d3dcc..c00e60bdbc0 100644 --- a/tooling/nargo_cli/tests/execution_success/simple_mut/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/simple_mut/Nargo.toml @@ -2,6 +2,4 @@ name = "simple_mut" type = "bin" authors = [""] -compiler_version = "0.6.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/simple_not/Nargo.toml b/tooling/nargo_cli/tests/execution_success/simple_not/Nargo.toml index 0ca112cf4b3..52c86b36efb 100644 --- a/tooling/nargo_cli/tests/execution_success/simple_not/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/simple_not/Nargo.toml @@ -2,6 +2,4 @@ name = "simple_not" type = "bin" authors = [""] -compiler_version = "0.6.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/simple_print/Nargo.toml b/tooling/nargo_cli/tests/execution_success/simple_print/Nargo.toml index d154fbc47f2..cd8422ac482 100644 --- a/tooling/nargo_cli/tests/execution_success/simple_print/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/simple_print/Nargo.toml @@ -2,6 +2,4 @@ name = "simple_print" type = "bin" authors = [""] -compiler_version = "0.6.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/simple_program_addition/Nargo.toml b/tooling/nargo_cli/tests/execution_success/simple_program_addition/Nargo.toml index 8cf28eb45a7..28967a28a55 100644 --- a/tooling/nargo_cli/tests/execution_success/simple_program_addition/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/simple_program_addition/Nargo.toml @@ -2,6 +2,5 @@ name = "simple_program_addition" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/simple_radix/Nargo.toml b/tooling/nargo_cli/tests/execution_success/simple_radix/Nargo.toml index 6c208c1645c..12cbc8da1d3 100644 --- a/tooling/nargo_cli/tests/execution_success/simple_radix/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/simple_radix/Nargo.toml @@ -2,6 +2,4 @@ name = "simple_radix" type = "bin" authors = [""] -compiler_version = "0.6.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/simple_shield/Nargo.toml b/tooling/nargo_cli/tests/execution_success/simple_shield/Nargo.toml index b710f38d826..7e9579b0af4 100644 --- a/tooling/nargo_cli/tests/execution_success/simple_shield/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/simple_shield/Nargo.toml @@ -2,6 +2,5 @@ name = "simple_shield" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/simple_shift_left_right/Nargo.toml b/tooling/nargo_cli/tests/execution_success/simple_shift_left_right/Nargo.toml index 09eb46d547e..2e75d5feada 100644 --- a/tooling/nargo_cli/tests/execution_success/simple_shift_left_right/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/simple_shift_left_right/Nargo.toml @@ -2,6 +2,5 @@ name = "simple_shift_left_right" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/slice_dynamic_index/Nargo.toml b/tooling/nargo_cli/tests/execution_success/slice_dynamic_index/Nargo.toml index 08322784151..a02faeae27a 100644 --- a/tooling/nargo_cli/tests/execution_success/slice_dynamic_index/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/slice_dynamic_index/Nargo.toml @@ -2,6 +2,5 @@ name = "slice_dynamic_index" type = "bin" authors = [""] -compiler_version = "0.10.3" [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/execution_success/slices/Nargo.toml b/tooling/nargo_cli/tests/execution_success/slices/Nargo.toml index bc9dcc7729a..3eec413bc07 100644 --- a/tooling/nargo_cli/tests/execution_success/slices/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/slices/Nargo.toml @@ -2,6 +2,4 @@ name = "slices" type = "bin" authors = [""] -compiler_version = "0.6.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/strings/Nargo.toml b/tooling/nargo_cli/tests/execution_success/strings/Nargo.toml index 30df1a2f27e..76a9beb6909 100644 --- a/tooling/nargo_cli/tests/execution_success/strings/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/strings/Nargo.toml @@ -2,6 +2,5 @@ name = "strings" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/struct/Nargo.toml b/tooling/nargo_cli/tests/execution_success/struct/Nargo.toml index 34c3d838538..6622edd0653 100644 --- a/tooling/nargo_cli/tests/execution_success/struct/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/struct/Nargo.toml @@ -2,6 +2,5 @@ name = "struct" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/struct_array_inputs/Nargo.toml b/tooling/nargo_cli/tests/execution_success/struct_array_inputs/Nargo.toml index 7be5ccbb99f..40160fb397f 100644 --- a/tooling/nargo_cli/tests/execution_success/struct_array_inputs/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/struct_array_inputs/Nargo.toml @@ -2,6 +2,4 @@ name = "struct_array_inputs" type = "bin" authors = [""] -compiler_version = "0.6.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/struct_fields_ordering/Nargo.toml b/tooling/nargo_cli/tests/execution_success/struct_fields_ordering/Nargo.toml index 2e886f62689..767f51acda3 100644 --- a/tooling/nargo_cli/tests/execution_success/struct_fields_ordering/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/struct_fields_ordering/Nargo.toml @@ -2,6 +2,5 @@ name = "struct_fields_ordering" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/struct_inputs/Nargo.toml b/tooling/nargo_cli/tests/execution_success/struct_inputs/Nargo.toml index 455a7b28ddb..7dd6f78b750 100644 --- a/tooling/nargo_cli/tests/execution_success/struct_inputs/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/struct_inputs/Nargo.toml @@ -2,6 +2,5 @@ name = "struct_inputs" type = "bin" authors = [""] -compiler_version = "0.1" [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/submodules/Nargo.toml b/tooling/nargo_cli/tests/execution_success/submodules/Nargo.toml index a98eda3cd89..082afdf3f10 100644 --- a/tooling/nargo_cli/tests/execution_success/submodules/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/submodules/Nargo.toml @@ -2,6 +2,4 @@ name = "submodules" type = "bin" authors = [""] -compiler_version = "0.1" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/to_be_bytes/Nargo.toml b/tooling/nargo_cli/tests/execution_success/to_be_bytes/Nargo.toml index c0837a335f8..e9d2e30b4c4 100644 --- a/tooling/nargo_cli/tests/execution_success/to_be_bytes/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/to_be_bytes/Nargo.toml @@ -2,6 +2,4 @@ name = "to_be_bytes" type = "bin" authors = [""] -compiler_version = "0.1" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/to_bytes_consistent/Nargo.toml b/tooling/nargo_cli/tests/execution_success/to_bytes_consistent/Nargo.toml index 65f95d159c8..1e117b83883 100644 --- a/tooling/nargo_cli/tests/execution_success/to_bytes_consistent/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/to_bytes_consistent/Nargo.toml @@ -2,6 +2,4 @@ name = "to_bytes_consistent" type = "bin" authors = [""] -compiler_version = "0.10.3" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/execution_success/to_bytes_integration/Nargo.toml b/tooling/nargo_cli/tests/execution_success/to_bytes_integration/Nargo.toml index fd1c714b123..c89c32eb06c 100644 --- a/tooling/nargo_cli/tests/execution_success/to_bytes_integration/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/to_bytes_integration/Nargo.toml @@ -2,6 +2,4 @@ name = "to_bytes_integration" type = "bin" authors = [""] -compiler_version = "0.1" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/to_le_bytes/Nargo.toml b/tooling/nargo_cli/tests/execution_success/to_le_bytes/Nargo.toml index 34cf8a5afc7..3d02c3510fd 100644 --- a/tooling/nargo_cli/tests/execution_success/to_le_bytes/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/to_le_bytes/Nargo.toml @@ -2,6 +2,4 @@ name = "to_le_bytes" type = "bin" authors = [""] -compiler_version = "0.1" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/trait_as_return_type/Nargo.toml b/tooling/nargo_cli/tests/execution_success/trait_as_return_type/Nargo.toml index 1a7ef7ee8a2..afd89f0c3a1 100644 --- a/tooling/nargo_cli/tests/execution_success/trait_as_return_type/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/trait_as_return_type/Nargo.toml @@ -2,6 +2,4 @@ name = "trait_as_return_type" type = "bin" authors = [""] -compiler_version = "0.10.5" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/execution_success/trait_impl_base_type/Nargo.toml b/tooling/nargo_cli/tests/execution_success/trait_impl_base_type/Nargo.toml index dad2ca8fed2..845498737c1 100644 --- a/tooling/nargo_cli/tests/execution_success/trait_impl_base_type/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/trait_impl_base_type/Nargo.toml @@ -2,6 +2,4 @@ name = "trait_impl_base_type" type = "bin" authors = [""] -compiler_version = "0.10.5" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/execution_success/traits_in_crates_1/Nargo.toml b/tooling/nargo_cli/tests/execution_success/traits_in_crates_1/Nargo.toml index a13ed98b632..555c3b38b98 100644 --- a/tooling/nargo_cli/tests/execution_success/traits_in_crates_1/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/traits_in_crates_1/Nargo.toml @@ -2,8 +2,6 @@ name = "traits_in_crates_1" type = "bin" authors = [""] -compiler_version = "0.12.0" - [dependencies] crate1 = { path = "crate1" } crate2 = { path = "crate2" } diff --git a/tooling/nargo_cli/tests/execution_success/traits_in_crates_1/crate1/Nargo.toml b/tooling/nargo_cli/tests/execution_success/traits_in_crates_1/crate1/Nargo.toml index 0a94742b76a..f49603ba203 100644 --- a/tooling/nargo_cli/tests/execution_success/traits_in_crates_1/crate1/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/traits_in_crates_1/crate1/Nargo.toml @@ -2,7 +2,5 @@ name = "crate1" type = "lib" authors = [""] -compiler_version = "0.12.0" - [dependencies] crate2 = { path = "../crate2" } diff --git a/tooling/nargo_cli/tests/execution_success/traits_in_crates_1/crate2/Nargo.toml b/tooling/nargo_cli/tests/execution_success/traits_in_crates_1/crate2/Nargo.toml index a90a5dcceea..c86c5edf51a 100644 --- a/tooling/nargo_cli/tests/execution_success/traits_in_crates_1/crate2/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/traits_in_crates_1/crate2/Nargo.toml @@ -2,6 +2,4 @@ name = "crate2" type = "lib" authors = [""] -compiler_version = "0.12.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/execution_success/traits_in_crates_2/Nargo.toml b/tooling/nargo_cli/tests/execution_success/traits_in_crates_2/Nargo.toml index 8b5bc49e0bb..11a86a08402 100644 --- a/tooling/nargo_cli/tests/execution_success/traits_in_crates_2/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/traits_in_crates_2/Nargo.toml @@ -2,8 +2,6 @@ name = "traits_in_crates_2" type = "bin" authors = [""] -compiler_version = "0.12.0" - [dependencies] crate1 = { path = "crate1" } crate2 = { path = "crate2" } diff --git a/tooling/nargo_cli/tests/execution_success/traits_in_crates_2/crate1/Nargo.toml b/tooling/nargo_cli/tests/execution_success/traits_in_crates_2/crate1/Nargo.toml index b28e0e840c4..de1eddf2cf0 100644 --- a/tooling/nargo_cli/tests/execution_success/traits_in_crates_2/crate1/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/traits_in_crates_2/crate1/Nargo.toml @@ -2,6 +2,4 @@ name = "crate1" type = "lib" authors = [""] -compiler_version = "0.12.0" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/execution_success/traits_in_crates_2/crate2/Nargo.toml b/tooling/nargo_cli/tests/execution_success/traits_in_crates_2/crate2/Nargo.toml index 51c201372ee..885d41f0a27 100644 --- a/tooling/nargo_cli/tests/execution_success/traits_in_crates_2/crate2/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/traits_in_crates_2/crate2/Nargo.toml @@ -2,7 +2,5 @@ name = "crate2" type = "lib" authors = [""] -compiler_version = "0.12.0" - [dependencies] crate1 = { path = "../crate1" } diff --git a/tooling/nargo_cli/tests/execution_success/tuple_inputs/Nargo.toml b/tooling/nargo_cli/tests/execution_success/tuple_inputs/Nargo.toml index 7cc7bc85393..f4af6cfe6e3 100644 --- a/tooling/nargo_cli/tests/execution_success/tuple_inputs/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/tuple_inputs/Nargo.toml @@ -2,6 +2,4 @@ name = "tuple_inputs" type = "bin" authors = [""] -compiler_version = "0.14.1" - [dependencies] \ No newline at end of file diff --git a/tooling/nargo_cli/tests/execution_success/tuples/Nargo.toml b/tooling/nargo_cli/tests/execution_success/tuples/Nargo.toml index 54603e9a96b..f6ed9f1e649 100644 --- a/tooling/nargo_cli/tests/execution_success/tuples/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/tuples/Nargo.toml @@ -2,6 +2,4 @@ name = "tuples" type = "bin" authors = [""] -compiler_version = "0.1" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/type_aliases/Nargo.toml b/tooling/nargo_cli/tests/execution_success/type_aliases/Nargo.toml index e828f6913e0..a12df601a91 100644 --- a/tooling/nargo_cli/tests/execution_success/type_aliases/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/type_aliases/Nargo.toml @@ -2,6 +2,4 @@ name = "type_aliases" type = "bin" authors = [""] -compiler_version = "0.1" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/workspace/crates/a/Nargo.toml b/tooling/nargo_cli/tests/execution_success/workspace/crates/a/Nargo.toml index 411f048a93b..8d0e1aca4a9 100644 --- a/tooling/nargo_cli/tests/execution_success/workspace/crates/a/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/workspace/crates/a/Nargo.toml @@ -2,6 +2,4 @@ name = "a" type = "bin" authors = [""] -compiler_version = "0.8.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/workspace/crates/b/Nargo.toml b/tooling/nargo_cli/tests/execution_success/workspace/crates/b/Nargo.toml index 1af8ef961cc..f316511340f 100644 --- a/tooling/nargo_cli/tests/execution_success/workspace/crates/b/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/workspace/crates/b/Nargo.toml @@ -2,6 +2,4 @@ name = "b" type = "bin" authors = [""] -compiler_version = "0.8.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/workspace_default_member/a/Nargo.toml b/tooling/nargo_cli/tests/execution_success/workspace_default_member/a/Nargo.toml index 411f048a93b..8d0e1aca4a9 100644 --- a/tooling/nargo_cli/tests/execution_success/workspace_default_member/a/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/workspace_default_member/a/Nargo.toml @@ -2,6 +2,4 @@ name = "a" type = "bin" authors = [""] -compiler_version = "0.8.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/workspace_default_member/b/Nargo.toml b/tooling/nargo_cli/tests/execution_success/workspace_default_member/b/Nargo.toml index 1af8ef961cc..f316511340f 100644 --- a/tooling/nargo_cli/tests/execution_success/workspace_default_member/b/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/workspace_default_member/b/Nargo.toml @@ -2,6 +2,4 @@ name = "b" type = "bin" authors = [""] -compiler_version = "0.8.0" - [dependencies] diff --git a/tooling/nargo_cli/tests/execution_success/xor/Nargo.toml b/tooling/nargo_cli/tests/execution_success/xor/Nargo.toml index ea15f5eb6c5..ddf3b6d86c5 100644 --- a/tooling/nargo_cli/tests/execution_success/xor/Nargo.toml +++ b/tooling/nargo_cli/tests/execution_success/xor/Nargo.toml @@ -2,6 +2,4 @@ name = "xor" type = "bin" authors = [""] -compiler_version = "0.1" - [dependencies] diff --git a/tooling/nargo_cli/tests/noir_test_failure/should_fail_mismatch/Nargo.toml b/tooling/nargo_cli/tests/noir_test_failure/should_fail_mismatch/Nargo.toml index dd56e682004..3d2cf2c6096 100644 --- a/tooling/nargo_cli/tests/noir_test_failure/should_fail_mismatch/Nargo.toml +++ b/tooling/nargo_cli/tests/noir_test_failure/should_fail_mismatch/Nargo.toml @@ -2,6 +2,4 @@ name = "should_fail_with_mismatch" type = "bin" authors = [""] -compiler_version = "0.1" - [dependencies] diff --git a/tooling/nargo_cli/tests/noir_test_success/should_fail_with_matches/Nargo.toml b/tooling/nargo_cli/tests/noir_test_success/should_fail_with_matches/Nargo.toml index 78d98bc87a3..21bce3d2b2d 100644 --- a/tooling/nargo_cli/tests/noir_test_success/should_fail_with_matches/Nargo.toml +++ b/tooling/nargo_cli/tests/noir_test_success/should_fail_with_matches/Nargo.toml @@ -2,6 +2,4 @@ name = "should_fail_with_match" type = "bin" authors = [""] -compiler_version = "0.1" - [dependencies] diff --git a/tooling/nargo_cli/tests/test_libraries/bad_impl/Nargo.toml b/tooling/nargo_cli/tests/test_libraries/bad_impl/Nargo.toml index ccb03576323..62ffe95922d 100644 --- a/tooling/nargo_cli/tests/test_libraries/bad_impl/Nargo.toml +++ b/tooling/nargo_cli/tests/test_libraries/bad_impl/Nargo.toml @@ -2,6 +2,4 @@ name = "bad_impl" type = "lib" authors = [""] -compiler_version = "0.7.1" - [dependencies] diff --git a/tooling/nargo_cli/tests/test_libraries/bad_name/Nargo.toml b/tooling/nargo_cli/tests/test_libraries/bad_name/Nargo.toml index 313e2411e83..74f6f66524d 100644 --- a/tooling/nargo_cli/tests/test_libraries/bad_name/Nargo.toml +++ b/tooling/nargo_cli/tests/test_libraries/bad_name/Nargo.toml @@ -2,6 +2,4 @@ name = "bad-name" type = "lib" authors = [""] -compiler_version = "0.7.1" - [dependencies] diff --git a/tooling/nargo_cli/tests/test_libraries/bin_dep/Nargo.toml b/tooling/nargo_cli/tests/test_libraries/bin_dep/Nargo.toml index aa7125bf5b5..7cc99c1c5c5 100644 --- a/tooling/nargo_cli/tests/test_libraries/bin_dep/Nargo.toml +++ b/tooling/nargo_cli/tests/test_libraries/bin_dep/Nargo.toml @@ -2,6 +2,4 @@ name = "bin_dep" type = "bin" authors = [""] -compiler_version = "0.7.1" - [dependencies] diff --git a/tooling/nargo_cli/tests/test_libraries/diamond_deps_1/Nargo.toml b/tooling/nargo_cli/tests/test_libraries/diamond_deps_1/Nargo.toml index 7069390334c..f7770e07469 100644 --- a/tooling/nargo_cli/tests/test_libraries/diamond_deps_1/Nargo.toml +++ b/tooling/nargo_cli/tests/test_libraries/diamond_deps_1/Nargo.toml @@ -2,7 +2,5 @@ name = "diamond_deps_1" type = "lib" authors = [""] -compiler_version = "0.7.1" - [dependencies] dep2 = { path = "../diamond_deps_2" } diff --git a/tooling/nargo_cli/tests/test_libraries/diamond_deps_2/Nargo.toml b/tooling/nargo_cli/tests/test_libraries/diamond_deps_2/Nargo.toml index 4b8ece297d3..2dbba1b7a9e 100644 --- a/tooling/nargo_cli/tests/test_libraries/diamond_deps_2/Nargo.toml +++ b/tooling/nargo_cli/tests/test_libraries/diamond_deps_2/Nargo.toml @@ -2,6 +2,4 @@ name = "diamond_deps_2" type = "lib" authors = [""] -compiler_version = "0.7.1" - [dependencies] diff --git a/tooling/nargo_toml/Cargo.toml b/tooling/nargo_toml/Cargo.toml index d3767a0b038..c835ddd936c 100644 --- a/tooling/nargo_toml/Cargo.toml +++ b/tooling/nargo_toml/Cargo.toml @@ -17,5 +17,6 @@ serde.workspace = true thiserror.workspace = true toml.workspace = true url.workspace = true +semver = "1.0.20" [dev-dependencies] diff --git a/tooling/nargo_toml/src/errors.rs b/tooling/nargo_toml/src/errors.rs index 9abeab97b61..fdbdc317bf9 100644 --- a/tooling/nargo_toml/src/errors.rs +++ b/tooling/nargo_toml/src/errors.rs @@ -4,7 +4,8 @@ use nargo::package::PackageType; use noirc_frontend::graph::CrateName; use thiserror::Error; -/// Errors covering situations where a package is either missing or malformed. +/// Errors covering situations where a package is either missing, malformed or does not pass semver +/// validation checks. #[derive(Debug, Error)] pub enum ManifestError { /// Package doesn't have a manifest file @@ -65,4 +66,19 @@ pub enum ManifestError { #[error("No common ancestor between {root} and {current}")] NoCommonAncestor { root: PathBuf, current: PathBuf }, + + #[error(transparent)] + SemverError(SemverError), +} + +#[derive(Error, Debug, PartialEq, Eq, Clone)] +pub enum SemverError { + #[error("Incompatible compiler version in package {package_name}. Required compiler version is {required_compiler_version} but the compiler version is {compiler_version_found}.\n Update the compiler_version field in Nargo.toml to >={compiler_version_found} or compile this project with version {compiler_version_found}")] + IncompatibleVersion { + package_name: CrateName, + required_compiler_version: String, + compiler_version_found: String, + }, + #[error("Could not parse the required compiler version for package {package_name} in Nargo.toml. Error: {error}")] + CouldNotParseRequiredVersion { package_name: String, error: String }, } diff --git a/tooling/nargo_toml/src/lib.rs b/tooling/nargo_toml/src/lib.rs index 5d12c09a81e..223ed2da081 100644 --- a/tooling/nargo_toml/src/lib.rs +++ b/tooling/nargo_toml/src/lib.rs @@ -18,6 +18,7 @@ use serde::Deserialize; mod errors; mod git; +mod semver; pub use errors::ManifestError; use git::clone_git_repo; @@ -163,6 +164,7 @@ impl PackageConfig { }; Ok(Package { + compiler_required_version: self.package.compiler_version.clone(), root_dir: root_dir.to_path_buf(), entry_path, package_type, @@ -228,7 +230,7 @@ struct PackageMetadata { entry: Option, description: Option, authors: Option>, - // If not compiler version is supplied, the latest is used + // If no compiler version is supplied, the latest is used // For now, we state that all packages must be compiled under the same // compiler version. // We also state that ACIR and the compiler will upgrade in lockstep. @@ -391,10 +393,14 @@ pub enum PackageSelection { pub fn resolve_workspace_from_toml( toml_path: &Path, package_selection: PackageSelection, + current_compiler_version: Option, ) -> Result { let nargo_toml = read_toml(toml_path)?; - - toml_to_workspace(nargo_toml, package_selection) + let workspace = toml_to_workspace(nargo_toml, package_selection)?; + if let Some(current_compiler_version) = current_compiler_version { + semver::semver_check_workspace(workspace.clone(), current_compiler_version)?; + } + Ok(workspace) } #[test] @@ -404,7 +410,7 @@ fn parse_standard_toml() { [package] name = "test" authors = ["kev", "foo"] - compiler_version = "0.1" + compiler_version = "*" [dependencies] rand = { tag = "next", git = "https://github.com/rust-lang-nursery/rand"} @@ -422,7 +428,7 @@ fn parse_package_toml_no_deps() { [package] name = "test" authors = ["kev", "foo"] - compiler_version = "0.1" + compiler_version = "*" "#; assert!(Config::try_from(String::from(src)).is_ok()); diff --git a/tooling/nargo_toml/src/semver.rs b/tooling/nargo_toml/src/semver.rs new file mode 100644 index 00000000000..8ee80858f31 --- /dev/null +++ b/tooling/nargo_toml/src/semver.rs @@ -0,0 +1,196 @@ +use crate::{errors::SemverError, ManifestError}; +use nargo::{ + package::{Dependency, Package}, + workspace::Workspace, +}; +use semver::{Version, VersionReq}; + +// Check that all of the packages in the workspace are compatible with the current compiler version +pub(crate) fn semver_check_workspace( + workspace: Workspace, + current_compiler_version: String, +) -> Result<(), ManifestError> { + let version = Version::parse(¤t_compiler_version) + .expect("The compiler version is not a valid semver version"); + for package in &workspace.members { + semver_check_package(package, &version).map_err(ManifestError::SemverError)?; + } + + Ok(()) +} + +// Check that a package and all of its dependencies are compatible with the current compiler version +pub(crate) fn semver_check_package( + package: &Package, + compiler_version: &Version, +) -> Result<(), SemverError> { + // Check that this package's compiler version requirements are satisfied + if let Some(version) = &package.compiler_required_version { + let version_req = match VersionReq::parse(version) { + Ok(version_req) => version_req, + Err(err) => { + return Err(SemverError::CouldNotParseRequiredVersion { + package_name: package.name.clone().into(), + error: err.to_string(), + }) + } + }; + if !version_req.matches(compiler_version) { + return Err(SemverError::IncompatibleVersion { + package_name: package.name.clone(), + required_compiler_version: version.clone(), + compiler_version_found: strip_build_meta_data(compiler_version), + }); + }; + } + + // Check that all of this package's dependencies' compiler version requirements are satisfied + for dep in package.dependencies.values() { + match dep { + Dependency::Local { package } | Dependency::Remote { package } => { + semver_check_package(package, compiler_version)?; + } + } + } + + Ok(()) +} + +// Strip the build meta data from the version string since it is ignored by semver. +fn strip_build_meta_data(version: &Version) -> String { + let version_string = version.to_string(); + let mut split = version_string.split('+'); + split.next().expect("split was called on an empty string").to_string() +} + +#[cfg(test)] +mod tests { + use std::{collections::BTreeMap, path::PathBuf, str::FromStr}; + + use nargo::package::PackageType; + use noirc_frontend::graph::CrateName; + + use super::*; + + #[test] + fn test_semver_check_smoke() { + let compiler_version = Version::parse("0.1.0").unwrap(); + + let mut package = Package { + compiler_required_version: Some("0.1.0".to_string()), + root_dir: PathBuf::new(), + package_type: PackageType::Library, + entry_path: PathBuf::new(), + name: CrateName::from_str("test").unwrap(), + dependencies: BTreeMap::new(), + }; + if let Err(err) = semver_check_package(&package, &compiler_version) { + panic!("semver check should have passed. compiler version is 0.1.0 and required version from the package is 0.1.0\n error: {err:?}") + }; + + package.compiler_required_version = Some("0.2.0".to_string()); + let got_err = match semver_check_package(&package, &compiler_version) { + Ok(_) => panic!("semver check should have failed. compiler version is 0.1.0 and required version from the package is 0.2.0"), + Err(err) => err, + }; + + let expected_version_error = SemverError::IncompatibleVersion { + package_name: CrateName::from_str("test").unwrap(), + required_compiler_version: "0.2.0".to_string(), + compiler_version_found: "0.1.0".to_string(), + }; + assert_eq!(got_err, expected_version_error); + } + + #[test] + fn test_semver_dependency_check_smoke() { + let compiler_version = Version::parse("0.1.0").unwrap(); + + let mut package = Package { + compiler_required_version: Some("0.1.0".to_string()), + root_dir: PathBuf::new(), + package_type: PackageType::Library, + entry_path: PathBuf::new(), + name: CrateName::from_str("test").unwrap(), + dependencies: BTreeMap::new(), + }; + + let valid_dependency = Package { + compiler_required_version: Some("0.1.0".to_string()), + root_dir: PathBuf::new(), + package_type: PackageType::Library, + entry_path: PathBuf::new(), + name: CrateName::from_str("good_dependency").unwrap(), + dependencies: BTreeMap::new(), + }; + let invalid_dependency = Package { + compiler_required_version: Some("0.2.0".to_string()), + root_dir: PathBuf::new(), + package_type: PackageType::Library, + entry_path: PathBuf::new(), + name: CrateName::from_str("bad_dependency").unwrap(), + dependencies: BTreeMap::new(), + }; + + package.dependencies.insert( + CrateName::from_str("test_dep_valid").unwrap(), + Dependency::Local { package: valid_dependency.clone() }, + ); + + if let Err(err) = semver_check_package(&package, &compiler_version) { + panic!("semver check should have passed. compiler version is 0.1.0 and required version from the package is 0.1.0\n error: {err:?}") + }; + + package.dependencies.insert( + CrateName::from_str("test_dep_invalid").unwrap(), + Dependency::Local { package: invalid_dependency.clone() }, + ); + let got_err = match semver_check_package(&package,&compiler_version) { + Ok(_) => panic!("semver check should have failed. compiler version is 0.1.0 and required version from the package is 0.2.0"), + Err(err) => err, + }; + + let expected_version_error = SemverError::IncompatibleVersion { + package_name: CrateName::from_str("bad_dependency").unwrap(), + required_compiler_version: "0.2.0".to_string(), + compiler_version_found: "0.1.0".to_string(), + }; + assert_eq!(got_err, expected_version_error.into()); + } + + #[test] + fn test_semver_carrot() { + let compiler_version = Version::parse("0.2.0").unwrap(); + + let package = Package { + compiler_required_version: Some(">=0.1.0".to_string()), + root_dir: PathBuf::new(), + package_type: PackageType::Library, + entry_path: PathBuf::new(), + name: CrateName::from_str("test").unwrap(), + dependencies: BTreeMap::new(), + }; + + if let Err(err) = semver_check_package(&package, &compiler_version) { + panic!("semver check should have passed. compiler version is 0.2.0 and required version from the package is >=0.1.0\n error: {err:?}") + }; + } + + #[test] + fn test_semver_build_data() { + let compiler_version = Version::parse("0.1.0+this-is-ignored-by-semver").unwrap(); + + let package = Package { + compiler_required_version: Some("0.1.0".to_string()), + root_dir: PathBuf::new(), + package_type: PackageType::Library, + entry_path: PathBuf::new(), + name: CrateName::from_str("test").unwrap(), + dependencies: BTreeMap::new(), + }; + + if let Err(err) = semver_check_package(&package, &compiler_version) { + panic!("semver check should have passed. compiler version is 0.1.0+build_data and required version from the package is 0.1.0\n The build data should be ignored\n error: {err:?}") + }; + } +} diff --git a/tooling/noir_js/test/noir_compiled_examples/assert_lt/Nargo.toml b/tooling/noir_js/test/noir_compiled_examples/assert_lt/Nargo.toml index 742f100681f..f32ec18cae7 100644 --- a/tooling/noir_js/test/noir_compiled_examples/assert_lt/Nargo.toml +++ b/tooling/noir_js/test/noir_compiled_examples/assert_lt/Nargo.toml @@ -2,6 +2,4 @@ name = "assert_lt" type = "bin" authors = [""] -compiler_version = "0.1" - [dependencies]