Skip to content

Commit cd07f41

Browse files
authored
Merge pull request #374 from eosnetworkfoundation/yarkin/merge107
[1.0->main] Encode transaction properly in the tx removal step during fork
2 parents 365eed6 + f15364c commit cd07f41

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ include(cmake/conan.cmake)
2020

2121
set(VERSION_MAJOR 1)
2222
set(VERSION_MINOR 0)
23-
set(VERSION_PATCH 6)
23+
set(VERSION_PATCH 7)
2424
#set(VERSION_SUFFIX rc4)
2525

2626
if(VERSION_SUFFIX)

src/block_conversion_plugin.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ class block_conversion_plugin_impl : std::enable_shared_from_this<block_conversi
239239
auto txid_a = ethash::keccak256(rlpx_ref.data(), rlpx_ref.size());
240240

241241
silkworm::Bytes transaction_rlp{};
242-
silkworm::rlp::encode(transaction_rlp, evm_blocks.back().transactions.back());
242+
silkworm::rlp::encode(transaction_rlp, evm_blocks.back().transactions.back(), /* wrap_eip2718_into_string */ false);
243243
auto txid_b = ethash::keccak256(transaction_rlp.data(), transaction_rlp.size());
244244

245245
// Ensure that the transaction to be removed is the correct one

0 commit comments

Comments
 (0)