From a01d3d6e46d84f7f267ba3367a77a06e603cf680 Mon Sep 17 00:00:00 2001 From: yperbasis Date: Wed, 18 Sep 2024 14:25:32 +0200 Subject: [PATCH] revert changes in comments --- silkworm/rpc/ethbackend/remote_backend_test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/silkworm/rpc/ethbackend/remote_backend_test.cpp b/silkworm/rpc/ethbackend/remote_backend_test.cpp index 8c2d8c839b..92dbd58ce0 100644 --- a/silkworm/rpc/ethbackend/remote_backend_test.cpp +++ b/silkworm/rpc/ethbackend/remote_backend_test.cpp @@ -247,7 +247,7 @@ TEST_CASE_METHOD(EthBackendTest, "BackEnd::node_info", "[silkworm][rpc][ethbacke // TODO(canepat) move these unit tests to execute.proto I/F implementation /*TEST_CASE_METHOD(EthBackendTest, "BackEnd::engine_get_payload", "[silkworm][rpc][ethbackend][backend]") { test::StrictMockAsyncResponseReader<::remote::EngineGetPayloadResponse> reader; - EXPECT_CALL(*stub, AsyncEngineGetPayloadRaw).WillOnce(testing::Return(&reader)); + EXPECT_CALL(*stub_, AsyncEngineGetPayloadRaw).WillOnce(testing::Return(&reader)); SECTION("call engine_get_payload and get payload") { const auto p{new ::types::ExecutionPayload}; @@ -309,7 +309,7 @@ TEST_CASE_METHOD(EthBackendTest, "BackEnd::node_info", "[silkworm][rpc][ethbacke TEST_CASE_METHOD(EthBackendTest, "BackEnd::engine_new_payload", "[silkworm][rpc][ethbackend][backend]") { test::StrictMockAsyncResponseReader<::remote::EnginePayloadStatus> reader; - EXPECT_CALL(*stub, AsyncEngineNewPayloadRaw).WillOnce(testing::Return(&reader)); + EXPECT_CALL(*stub_, AsyncEngineNewPayloadRaw).WillOnce(testing::Return(&reader)); silkworm::Bloom bloom; bloom.fill(0); @@ -419,7 +419,7 @@ TEST_CASE_METHOD(EthBackendTest, "BackEnd::engine_new_payload", "[silkworm][rpc] TEST_CASE_METHOD(EthBackendTest, "BackEnd::engine_forkchoice_updated", "[silkworm][rpc][ethbackend][backend]") { test::StrictMockAsyncResponseReader<::remote::EngineForkChoiceUpdatedResponse> reader; - EXPECT_CALL(*stub, AsyncEngineForkChoiceUpdatedRaw).WillOnce(testing::Return(&reader)); + EXPECT_CALL(*stub_, AsyncEngineForkChoiceUpdatedRaw).WillOnce(testing::Return(&reader)); const ForkChoiceUpdatedRequest forkchoice_request{ .fork_choice_state =