Skip to content

Commit

Permalink
1545 Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kladkogex committed Nov 13, 2024
1 parent 5bab9c6 commit 7b0afc7
Show file tree
Hide file tree
Showing 2 changed files with 223 additions and 201 deletions.
2 changes: 1 addition & 1 deletion test/tools/libtesteth/TestHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void mine( BlockHeader& _bi, SealEngineFace* _sealer, bool _verify ) {

void simulateMining( Client& client, size_t numBlocks, const dev::Address &address ) {
const auto balanceBefore = client.balanceAt( address );
State state = client.state().createStateCopyAndClearCaches();
State state = client.state();
u256 reward = 0;
for ( size_t blockNumber = 0; blockNumber < numBlocks; ++blockNumber ) {
reward += client.sealEngine()->blockReward( 1, blockNumber );
Expand Down
Loading

0 comments on commit 7b0afc7

Please sign in to comment.