Skip to content

Commit

Permalink
refactor: nit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
avilagaston9 committed Jul 12, 2024
1 parent d6539a1 commit 61ab7f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ checkpoint-sync: compile-all

#▶️ sepolia: @ Run an interactive terminal using sepolia network
sepolia: compile-all
iex -S mix run -- --checkpoint-sync-url https://sepolia.beaconstate.info --network sepolia --metrics
iex -S mix run -- --checkpoint-sync-url https://sepolia.beaconstate.info --network sepolia

#▶️ holesky: @ Run an interactive terminal using holesky network
holesky: compile-all
Expand Down
1 change: 1 addition & 0 deletions lib/lambda_ethereum_consensus/metrics.ex
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ defmodule LambdaEthereumConsensus.Metrics do
def block_relationship(nil, _), do: :ok

def block_relationship(parent_root, root) do
# If we try to add an edge to a non-existent node, it will crash.
if Blocks.get_block_info(parent_root) do
hex_parent_root = parent_root |> Base.encode16()
hex_root = root |> Base.encode16()
Expand Down

0 comments on commit 61ab7f0

Please sign in to comment.