Skip to content

Commit

Permalink
make fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Mar 31, 2024
1 parent 8f11001 commit 045c447
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion silkworm/rpc/core/rawdb/chain.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include <silkworm/infra/concurrency/task.hpp>

#include <boost/asio/thread_pool.hpp>

#include <evmc/evmc.hpp>
#include <intx/intx.hpp>
#include <nlohmann/json.hpp>
Expand Down
3 changes: 1 addition & 2 deletions silkworm/rpc/core/receipts.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@

#pragma once

#include <boost/asio/thread_pool.hpp>

#include <silkworm/infra/concurrency/task.hpp>

#include <boost/asio/thread_pool.hpp>
#include <evmc/evmc.hpp>

#include <silkworm/core/types/block.hpp>
Expand Down
2 changes: 0 additions & 2 deletions silkworm/rpc/ethdb/cbor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include <boost/asio/compose.hpp>
#include <boost/asio/post.hpp>
#include <boost/asio/use_awaitable.hpp>

#include <cbor/cbor.h>
#include <cbor/listener.h>
#include <nlohmann/json.hpp>
Expand Down Expand Up @@ -197,7 +196,6 @@ Task<bool> cbor_decode(boost::asio::thread_pool& workers, const silkworm::Bytes&
co_await boost::asio::async_compose<decltype(boost::asio::use_awaitable), void(bool)>(
[&](auto& self) {
boost::asio::post(workers, [&, self = std::move(self)]() mutable {

bool operation_result = true;
auto json = nlohmann::json::from_cbor(bytes);
SILK_TRACE << "cbor_decode<std::vector<Receipt>> json: " << json.dump();
Expand Down
3 changes: 2 additions & 1 deletion silkworm/rpc/ethdb/cbor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@

#include <vector>

#include <silkworm/infra/concurrency/task.hpp>

#include <boost/asio/thread_pool.hpp>

#include <silkworm/core/common/util.hpp>
#include <silkworm/infra/concurrency/task.hpp>
#include <silkworm/rpc/types/log.hpp>
#include <silkworm/rpc/types/receipt.hpp>

Expand Down

0 comments on commit 045c447

Please sign in to comment.