diff --git a/config/dev.exs b/config/dev.exs index 8e571918..f3e085e4 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -48,7 +48,7 @@ config :phoenix, :stacktrace_depth, 20 config :phoenix, :plug_init_mode, :runtime # Default these should point to moonbase alpha since we do all the development testing there -config :rudder, +config :refiner, operator_private_key: System.get_env("BLOCK_RESULT_OPERATOR_PRIVATE_KEY"), bsp_proofchain_address: System.get_env("BSP_PROOFCHAIN_ADDRESS", "0x916B54696A70588a716F899bE1e8f2A5fFd5f135"), diff --git a/lib/refiner/proof_chain/block_specimen_event_listener.ex b/lib/refiner/proof_chain/block_specimen_event_listener.ex index eeb71a8a..cf6cfd07 100644 --- a/lib/refiner/proof_chain/block_specimen_event_listener.ex +++ b/lib/refiner/proof_chain/block_specimen_event_listener.ex @@ -64,7 +64,7 @@ defmodule Refiner.ProofChain.BlockSpecimenEventListener do {:ok, [_event_hash, chain_id_raw, block_height_raw, block_hash]} = Map.fetch(log_event, "topics") - [specimen_hash_raw] = Rudder.Util.extract_data(log_event, "(bytes32)") + [specimen_hash_raw] = Refiner.Util.extract_data(log_event, "(bytes32)") # prepare data to generate key specimen_hash = Base.encode16(specimen_hash_raw, case: :lower)