From b37333cef71578cd8c7660188817646dd8a35f48 Mon Sep 17 00:00:00 2001 From: fcarreiro Date: Fri, 10 Jan 2025 10:23:20 +0000 Subject: [PATCH] Use bb's format. --- barretenberg/cpp/src/barretenberg/vm/avm/trace/execution.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/barretenberg/cpp/src/barretenberg/vm/avm/trace/execution.cpp b/barretenberg/cpp/src/barretenberg/vm/avm/trace/execution.cpp index 7855c991513..a06cbfd8fb4 100644 --- a/barretenberg/cpp/src/barretenberg/vm/avm/trace/execution.cpp +++ b/barretenberg/cpp/src/barretenberg/vm/avm/trace/execution.cpp @@ -1,5 +1,6 @@ #include "barretenberg/vm/avm/trace/execution.hpp" #include "barretenberg/bb/log.hpp" +#include "barretenberg/common/log.hpp" #include "barretenberg/common/serialize.hpp" #include "barretenberg/common/thread.hpp" #include "barretenberg/common/throw_or_abort.hpp" @@ -31,6 +32,7 @@ #include #include #include +#include #include #include #include @@ -195,7 +197,7 @@ void show_trace_info(const auto& trace) std::string fullnesses; for (size_t j = i; j < i + 10 && j < column_stats.size(); j++) { const auto& stat = column_stats.at(j); - fullnesses += std::format("{:3}: {:3}% ", stat.column_number, stat.fullness); + fullnesses += format(std::setw(3), stat.column_number, ": ", std::setw(3), stat.fullness, "% "); } vinfo(fullnesses); }