Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions barretenberg/cpp/CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ Note: Once you enable AVM, subsequent `ninja` calls will include AVM targets unt
- **dsl/** - ACIR definition in C++. This is dictated by the serialization in noir/, so refactor should generally not change the structure without confirming that the user is changing noir.
- **vm2/** - AVM implementation (not enabled, but might need to be fixed for compilation issues in root ./bootstrap.sh). If working in vm2, use barretenberg/cpp/src/barretenberg/vm2/CLAUDE.md

## Code formatting

All C++ files must be formatted with clang-format before committing:
```bash
clang-format-20 -i <files>
```

## Benchmarking:

**IMPORTANT**: In the barretenberg context, "bench" or "benchmark" almost always means running `benchmark_remote.sh` for the given target on a remote benchmarking machine.
Expand Down
1 change: 1 addition & 0 deletions barretenberg/cpp/src/barretenberg/crypto/sha256/sha256.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,6 @@ template Sha256Hash sha256<std::vector<uint8_t>>(const std::vector<uint8_t>& inp
template Sha256Hash sha256<std::array<uint8_t, 32>>(const std::array<uint8_t, 32>& input);
template Sha256Hash sha256<std::string>(const std::string& input);
template Sha256Hash sha256<std::span<uint8_t>>(const std::span<uint8_t>& input);
template Sha256Hash sha256<std::span<const uint8_t>>(const std::span<const uint8_t>& input);

} // namespace bb::crypto
Loading
Loading