From 1fd135cb61a0b0419a339743c2a4fa9890d62720 Mon Sep 17 00:00:00 2001 From: guipublic <47281315+guipublic@users.noreply.github.com> Date: Wed, 10 Jan 2024 10:09:35 +0100 Subject: [PATCH] feat!: Remove opcode supported from the backend (#3889) Removes the opcodes supported from the info command because it is not used by Noir anymore, --- barretenberg/cpp/src/barretenberg/bb/main.cpp | 4 +--- noir/tooling/backend_interface/src/cli/info.rs | 6 ------ 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/barretenberg/cpp/src/barretenberg/bb/main.cpp b/barretenberg/cpp/src/barretenberg/bb/main.cpp index f3af328e910..c9595cf1e91 100644 --- a/barretenberg/cpp/src/barretenberg/bb/main.cpp +++ b/barretenberg/cpp/src/barretenberg/bb/main.cpp @@ -395,9 +395,7 @@ void acvm_info(const std::string& output_path) "language": { "name" : "PLONK-CSAT", "width" : 3 - }, - "opcodes_supported" : ["arithmetic", "directive", "brillig", "memory_init", "memory_op"], - "black_box_functions_supported" : ["and", "xor", "range", "sha256", "blake2s", "keccak256", "keccak_f1600", "schnorr_verify", "pedersen", "pedersen_hash", "ecdsa_secp256k1", "ecdsa_secp256r1", "fixed_base_scalar_mul", "recursive_aggregation"] + } })"; size_t length = strlen(jsonData); diff --git a/noir/tooling/backend_interface/src/cli/info.rs b/noir/tooling/backend_interface/src/cli/info.rs index 81b811f0e32..934351dd517 100644 --- a/noir/tooling/backend_interface/src/cli/info.rs +++ b/noir/tooling/backend_interface/src/cli/info.rs @@ -13,12 +13,6 @@ pub(crate) struct InfoCommand { #[derive(Deserialize)] struct InfoResponse { language: LanguageResponse, - #[allow(dead_code)] - #[deprecated(note = "This field is deprecated and will be removed in the future")] - opcodes_supported: Vec, - #[allow(dead_code)] - #[deprecated(note = "This field is deprecated and will be removed in the future")] - black_box_functions_supported: Vec, } #[derive(Deserialize)]