Skip to content

Commit

Permalink
report bug as FIXME
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Sep 27, 2024
1 parent 2014f51 commit 954d0ec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/unittests/state_transition_block_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ TEST_F(state_transition, block_apply_withdrawal)

block.withdrawals = {{0, 0, withdrawal_address, 3}};
tx.to = To;
pre[To].nonce = 1; // FIXME: tx to empty account should delete it
expect.post[To].nonce = 1;
expect.post[withdrawal_address].balance = intx::uint256{3} * 1'000'000'000;
}

Expand Down Expand Up @@ -54,6 +56,8 @@ TEST_F(state_transition, block_apply_ommers_reward)
block_reward = 5'000'000'000'000'000'000;
block.ommers = {o1, o2};
tx.to = To;
pre[To].nonce = 1; // FIXME: tx to empty account should delete it
expect.post[To].nonce = 1;
expect.post[o1.beneficiary].balance = intx::uint256{block_reward} * (8 - o1.delta) / 8;
expect.post[o2.beneficiary].balance = intx::uint256{block_reward} * (8 - o2.delta) / 8;

Expand Down

0 comments on commit 954d0ec

Please sign in to comment.