Skip to content

Commit

Permalink
disable liquidity layer and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinoConti committed Jan 24, 2025
1 parent 6c71214 commit 5dfbc0e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
1 change: 1 addition & 0 deletions src/components/molecules/ProtocolsStats/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ const ProtocolsStats = ({ numberOfProtocols }: { numberOfProtocols?: number }) =
data?.length > 0 &&
data?.map((item, i) => {
if (i >= numberOfProtocols) return null;
if (item.protocol === "WORMHOLE_LIQUIDITY_LAYER") return null;

return (
<div
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Submit/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ const SubmitYourProtocol = () => {
const parsedSequence = Number(sequence);
const parsedGuardianSignatures = guardianSignatures?.map(({ index, signature }) => ({
index,
signature: Buffer.from(signature).toString("hex"),
signature: "0x" + Buffer.from(encoding.b64.decode(signature)).toString("hex"),
name: getGuardianName(guardianSet, index),
}));

Expand Down
2 changes: 1 addition & 1 deletion src/pages/Tx/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ const Tx = () => {
const parsedSequence = Number(sequence);
const parsedGuardianSignatures = guardianSignatures?.map(({ index, signature }) => ({
index,
signature: Buffer.from(signature).toString("hex"),
signature: "0x" + Buffer.from(encoding.b64.decode(signature)).toString("hex"),
name: guardianSetList?.[index]?.name,
}));

Expand Down
20 changes: 10 additions & 10 deletions src/utils/filterUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,16 @@ export const PROTOCOL_LIST: { label: string; value: string }[] = [
label: formatAppId(appId),
value: String(appId),
})),
{
icon: <ProtocolIcon protocol={MAYAN_SHUTTLE_APP_ID} />,
label: "Mayan Shuttle",
value: SWAP_LAYER_APP_ID,
},
{
icon: <ProtocolIcon protocol={LIQUIDITY_LAYER_APP_ID} />,
label: "Wormhole Liquidity Layer",
value: FAST_TRANSFERS_APP_ID,
},
// {
// icon: <ProtocolIcon protocol={MAYAN_SHUTTLE_APP_ID} />,
// label: "Mayan Shuttle",
// value: SWAP_LAYER_APP_ID,
// },
// {
// icon: <ProtocolIcon protocol={LIQUIDITY_LAYER_APP_ID} />,
// label: "Wormhole Liquidity Layer",
// value: FAST_TRANSFERS_APP_ID,
// },
].sort((a, b) => a.label.localeCompare(b.label));

export const ChainFilterMainnet = [
Expand Down

0 comments on commit 5dfbc0e

Please sign in to comment.