@pytest.mark.trio
async def test_rpc_ping_web3(make_request, ping_param_w3, alice, bob, w3):
    pong = (await trio.to_thread.run_sync(w3.discv5.ping, ping_param_w3))
    assert (pong.enr_seq == bob.enr.sequence_number)
    assert (pong.packet_ip == ipaddress.ip_address(alice.endpoint.ip_address))
    assert (pong.packet_port == alice.endpoint.port)
@pytest.mark.trio
async def test_rpc_ping_web3(make_request, ping_param_w3, alice, bob, w3):
    pong = (await trio.to_thread.run_sync(w3.discv5.ping, ping_param_w3))
    assert (pong.enr_seq == bob.enr.sequence_number)
    assert (pong.packet_ip == ipaddress.ip_address(alice.endpoint.ip_address))
    assert (pong.packet_port == alice.endpoint.port)