We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e73687b commit 695e883Copy full SHA for 695e883
web3/_utils/module_testing/persistent_connection_provider.py
@@ -542,14 +542,13 @@ async def test_async_eth_subscribe_creates_and_handles_logs_subscription_type(
542
sub_manager = async_w3.subscription_manager
543
544
event = async_emitter_contract.events.LogIndexedAndNotIndexed
545
- event_topic = async_w3.keccak(text=event.abi_element_identifier).to_0x_hex()
546
547
logs_handler_test = SubscriptionHandlerTest()
548
sub_id = await async_w3.eth.subscribe(
549
"logs",
550
{
551
"address": async_emitter_contract.address,
552
- "topics": [HexStr(event_topic)],
+ "topics": [event.topic],
553
},
554
handler=logs_handler,
555
handler_context={
0 commit comments