Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/slot/blobs.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<div class="blobloader-container" data-blob-idx="{{ $blob.Index }}">
<div class="row border-bottom p-1 mx-0">
<div class="col text-center">
<a class="btn btn-primary blobloader-button" href="?blob={{ $blob.Index }}#blobSidecars" role="button">Load Blob Data</a>
<a class="btn btn-primary blobloader-button" href="?blob={{ $blob.Index }}#blobs" role="button">Load Blob Data</a>
</div>
</div>
</div>
Expand Down
14 changes: 7 additions & 7 deletions templates/slot/block_access_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -1828,18 +1828,18 @@ <h6 class="mb-3">
</div>
<div class="tx-callout-row">
<span class="tx-callout-label">Hash:</span>
<span class="tx-callout-value">0x${bytesToHex(tx.hash)}</span>
<i class="fa fa-copy tx-callout-copy" onclick="copyToClipboard('0x${bytesToHex(tx.hash)}')" title="Copy to clipboard"></i>
<span class="tx-callout-value">0x${balBytesToHex(tx.hash)}</span>
<i class="fa fa-copy tx-callout-copy" onclick="copyToClipboard('0x${balBytesToHex(tx.hash)}')" title="Copy to clipboard"></i>
</div>
<div class="tx-callout-row">
<span class="tx-callout-label">From:</span>
<span class="tx-callout-value">0x${bytesToHex(tx.from)}</span>
<i class="fa fa-copy tx-callout-copy" onclick="copyToClipboard('0x${bytesToHex(tx.from)}')" title="Copy to clipboard"></i>
<span class="tx-callout-value">0x${balBytesToHex(tx.from)}</span>
<i class="fa fa-copy tx-callout-copy" onclick="copyToClipboard('0x${balBytesToHex(tx.from)}')" title="Copy to clipboard"></i>
</div>
<div class="tx-callout-row">
<span class="tx-callout-label">To:</span>
<span class="tx-callout-value">${tx.to ? `0x${bytesToHex(tx.to)}` : 'Contract Creation'}</span>
${tx.to ? `<i class="fa fa-copy tx-callout-copy" onclick="copyToClipboard('0x${bytesToHex(tx.to)}')" title="Copy to clipboard"></i>` : ''}
<span class="tx-callout-value">${tx.to ? `0x${balBytesToHex(tx.to)}` : 'Contract Creation'}</span>
${tx.to ? `<i class="fa fa-copy tx-callout-copy" onclick="copyToClipboard('0x${balBytesToHex(tx.to)}')" title="Copy to clipboard"></i>` : ''}
</div>
<div class="tx-callout-row">
<span class="tx-callout-label">Value:</span>
Expand Down Expand Up @@ -1908,7 +1908,7 @@ <h6 class="mb-3">
}
}

function bytesToHex(bytes) {
function balBytesToHex(bytes) {
if (typeof bytes === 'string') {
// Check if it's a base64 string
if (bytes.match(/^[A-Za-z0-9+/]+=*$/)) {
Expand Down
Loading