Skip to content

Commit

Permalink
feat!: Remove opcode supported from the backend (AztecProtocol#3889)
Browse files Browse the repository at this point in the history
Removes the opcodes supported from the info command because it is not
used by Noir anymore,
  • Loading branch information
guipublic authored Jan 10, 2024
1 parent eeb3d01 commit 1fd135c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
4 changes: 1 addition & 3 deletions barretenberg/cpp/src/barretenberg/bb/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
6 changes: 0 additions & 6 deletions noir/tooling/backend_interface/src/cli/info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>,
#[allow(dead_code)]
#[deprecated(note = "This field is deprecated and will be removed in the future")]
black_box_functions_supported: Vec<String>,
}

#[derive(Deserialize)]
Expand Down

0 comments on commit 1fd135c

Please sign in to comment.