Skip to content

Commit

Permalink
Use the valid encoding of non-legacy transactions in unit_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
elmato committed Jun 4, 2024
1 parent 11dc563 commit bdca318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/basic_evm_tester.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ transaction_trace_ptr basic_evm_tester::assertnonce(name account, uint64_t next_
transaction_trace_ptr basic_evm_tester::pushtx(const silkworm::Transaction& trx, name miner, std::optional<uint64_t> min_inclusion_price)
{
silkworm::Bytes rlp;
silkworm::rlp::encode(rlp, trx);
silkworm::rlp::encode(rlp, trx, false);

bytes rlp_bytes;
rlp_bytes.resize(rlp.size());
Expand Down

0 comments on commit bdca318

Please sign in to comment.