Skip to content

Commit

Permalink
Revert "Add Ix Cards for Ed25519 Precompile" (#438)
Browse files Browse the repository at this point in the history
Reverts #437
  • Loading branch information
ngundotra authored Jan 17, 2025
1 parent eaa9355 commit eff70df
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 313 deletions.
162 changes: 0 additions & 162 deletions app/components/instruction/ed25519/Ed25519DetailsCard.tsx

This file was deleted.

This file was deleted.

15 changes: 0 additions & 15 deletions app/components/instruction/ed25519/types.ts

This file was deleted.

5 changes: 0 additions & 5 deletions app/components/transaction/InstructionsSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ import React from 'react';
import { ErrorBoundary } from 'react-error-boundary';

import AnchorDetailsCard from '../instruction/AnchorDetailsCard';
import { Ed25519DetailsCard } from '../instruction/ed25519/Ed25519DetailsCard';
import { isEd25519Instruction } from '../instruction/ed25519/types';
import { LighthouseDetailsCard } from '../instruction/lighthouse/LighthouseDetailsCard';
import { isLighthouseInstruction } from '../instruction/lighthouse/types';
import { isMangoInstruction } from '../instruction/mango/types';
Expand Down Expand Up @@ -168,7 +166,6 @@ function InstructionCard({
const key = `${index}-${childIndex}`;
const { program: anchorProgram } = useAnchorProgram(ix.programId.toString(), url);

console.log('ix', ix);
if ('parsed' in ix) {
const props = {
childIndex,
Expand Down Expand Up @@ -222,8 +219,6 @@ function InstructionCard({

if (isAddressLookupTableInstruction(transactionIx)) {
return <AddressLookupTableDetailsCard key={key} {...props} />;
} else if (isEd25519Instruction(transactionIx)) {
return <Ed25519DetailsCard key={key} {...props} tx={tx} />;
} else if (isMangoInstruction(transactionIx)) {
return <MangoDetailsCard key={key} {...props} />;
} else if (isSerumInstruction(transactionIx)) {
Expand Down

0 comments on commit eff70df

Please sign in to comment.