Skip to content

Commit

Permalink
Add flaky geth dev mining to receipt unmined tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fselmo committed Jul 24, 2024
1 parent 3c02f28 commit 99a169b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web3/_utils/module_testing/eth_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -1692,6 +1692,7 @@ async def test_async_eth_get_transaction_receipt_mined(
assert isinstance(effective_gas_price, int)
assert effective_gas_price > 0

@flaky_geth_dev_mining
@pytest.mark.asyncio
async def test_async_eth_get_transaction_receipt_unmined(
self,
Expand Down Expand Up @@ -3596,7 +3597,6 @@ def test_eth_replace_transaction_gas_price_defaulting_strategy_lower(
self, w3: "Web3", keyfile_account_address: ChecksumAddress
) -> None:
gas_price = w3.to_wei(2, "gwei")

txn_params: TxParams = {
"from": keyfile_account_address,
"to": keyfile_account_address,
Expand Down Expand Up @@ -4360,6 +4360,7 @@ def test_eth_get_transaction_receipt_mined(
assert isinstance(effective_gas_price, int)
assert effective_gas_price > 0

@flaky_geth_dev_mining
def test_eth_get_transaction_receipt_unmined(
self, w3: "Web3", keyfile_account_address_dual_type: ChecksumAddress
) -> None:
Expand Down

0 comments on commit 99a169b

Please sign in to comment.