Skip to content

Commit b2989a9

Browse files
committed
feat: aggregator column on agg proof detail
1 parent c7de9fd commit b2989a9

2 files changed

Lines changed: 15 additions & 3 deletions

File tree

explorer/lib/explorer_web/components/agg_proofs_table.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ defmodule ExplorerWeb.AggProofsTable do
6161

6262
defp sp1_badge(assigns) do
6363
~H"""
64-
<div class="rounded-full p-2 px-5 border w-fit" style="border-color: #FE11C5">
64+
<div class="rounded-full p-1 px-5 border w-fit" style="border-color: #FE11C5">
6565
<p style="color: #FE11C5">SP1</p>
6666
</div>
6767
"""
6868
end
6969

7070
defp risc0_badge(assigns) do
7171
~H"""
72-
<div class="rounded-full p-2 px-5 w-fit" style="background-color: #FEFF9D">
72+
<div class="rounded-full p-1 px-5 w-fit" style="background-color: #FEFF9D">
7373
<p class="text-black">RISC0</p>
7474
</div>
7575
"""

explorer/lib/explorer_web/live/pages/agg_proof/index.html.heex

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,18 @@
2222
</p>
2323
</div>
2424

25+
<div>
26+
<h3>
27+
Aggregator:
28+
</h3>
29+
<%= case @agg_proof.aggregator do %>
30+
<% :sp1 -> %>
31+
<p>SP1</p>
32+
<% :risc0 -> %>
33+
<p>RISC0</p>
34+
<% end %>
35+
</div>
36+
2537
<div>
2638
<h3>
2739
Number of Proofs included:
@@ -110,7 +122,7 @@
110122
<div class="flex flex-col space-y-6 justify-center grow relative text-center md:pt-14">
111123
<h1 class="text-5xl font-semibold">Oops!</h1>
112124
<h2 class="text-xl font-medium">
113-
The batch you are looking for <br /> doesn't exist.
125+
The aggregated proof you are looking for <br /> doesn't exist.
114126
</h2>
115127
<img
116128
class="z-0 w-64 rounded-xl mx-auto"

0 commit comments

Comments
 (0)