Skip to content

Commit

Permalink
feat!: Remove opcode supported from the backend (#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,
guipublic authored Jan 10, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent eeb3d01 commit 1fd135c
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
@@ -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);
6 changes: 0 additions & 6 deletions noir/tooling/backend_interface/src/cli/info.rs
Original file line number Diff line number Diff line change
@@ -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)]

0 comments on commit 1fd135c

Please sign in to comment.