chore: Move eth_bytecode_db_lookup_started event to smart contract related event handler (#10462)

pull/10469/head
Qwerty5Uiop 4 months ago committed by GitHub
parent 83e848d5a4
commit eb574f8961
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      apps/block_scout_web/lib/block_scout_web/realtime_event_handler.ex
  2. 1
      apps/block_scout_web/lib/block_scout_web/smart_contract_realtime_event_handler.ex

@ -42,7 +42,6 @@ defmodule BlockScoutWeb.RealtimeEventHandler do
Subscriber.to(:changed_bytecode, :on_demand)
Subscriber.to(:fetched_bytecode, :on_demand)
Subscriber.to(:fetched_token_instance_metadata, :on_demand)
Subscriber.to(:eth_bytecode_db_lookup_started, :on_demand)
Subscriber.to(:zkevm_confirmed_batches, :realtime)
# Does not come from the indexer
Subscriber.to(:exchange_rate)

@ -17,6 +17,7 @@ defmodule BlockScoutWeb.SmartContractRealtimeEventHandler do
Subscriber.to(:contract_verification_result, :on_demand)
Subscriber.to(:smart_contract_was_verified, :on_demand)
Subscriber.to(:smart_contract_was_not_verified, :on_demand)
Subscriber.to(:eth_bytecode_db_lookup_started, :on_demand)
{:ok, []}
end

Loading…
Cancel
Save