Skip to content

Commit

Permalink
Update test/unittests/state_transition.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Paweł Bylica <pawel@ethereum.org>
  • Loading branch information
pdobacz and chfast committed Sep 11, 2024
1 parent 2d4d8e5 commit 68da00b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/unittests/state_transition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,9 @@ void state_transition::export_state_test(
jtx["gasLimit"][0] = hex0x(tx.gas_limit);
jtx["value"][0] = hex0x(tx.value);

// Force `accessLists` output even if empty.
if (tx.type >= Transaction::Type::access_list)
jtx["accessLists"][0] = json::json::array({});
jtx["accessLists"][0] = json::json::array();

if (!tx.access_list.empty())
{
Expand Down

0 comments on commit 68da00b

Please sign in to comment.