Skip to content

Commit

Permalink
#1994 add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
olehnikolaiev committed Jan 15, 2025
1 parent 848ff26 commit 0ae45c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/unittests/libweb3jsonrpc/jsonrpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3671,6 +3671,9 @@ BOOST_AUTO_TEST_CASE( maxFeePerGasPatch ) {
Json::Value tx = fixture.rpcClient->eth_getTransactionByHash( txHash );
BOOST_REQUIRE( dev::jsToU256( tx["maxFeePerGas"].asString() ) < dev::jsToU256( tx["maxPriorityFeePerGas"].asString() ) );

dev::eth::Transaction t = fixture.client->transaction( dev::h256( txHash ) );
BOOST_REQUIRE( t.maxFeePerGas() < t.maxPriorityFeePerGas() );

sleep( 10 );

// force 1 block to update timestamp
Expand Down

0 comments on commit 0ae45c3

Please sign in to comment.