feat: display storage key-hashers on metadata tab (#74)

This commit is contained in:
Josep M Sobrepere
2025-08-19 17:58:04 +02:00
committed by GitHub
parent 8870da85c8
commit c5ae60c5b3
+6 -1
View File
@@ -98,7 +98,12 @@ const PalletStorage: FC<{ pallet: Pallet }> = ({ pallet }) => {
<>
{key != null && (
<div>
<h4>Key</h4>
<h4>
Key{" "}
{entry && entry.type.tag === "map" ? (
<>({entry.type.value.hashers.map((x) => x.tag).join(", ")})</>
) : null}
</h4>
{acceptsPartialKey && <p>Accepts partial keys</p>}
<LookupLink id={key} />
</div>