feat: introduce three new Serum instructions and program ID, rename bpf-upgradeable-loader card (#15679)

This commit is contained in:
Josh
2021-03-03 08:43:06 -08:00
committed by GitHub
parent 9a43679fe1
commit 8d0d6ded01
4 changed files with 13 additions and 7 deletions

View File

@@ -1,5 +1,4 @@
import React from "react";
import { ErrorCard } from "components/common/ErrorCard";
import {
ParsedInnerInstruction,
@@ -34,7 +33,7 @@ import {
useTransactionStatus,
} from "providers/transactions";
import { Cluster, useCluster } from "providers/cluster";
import { UpgradeableBpfLoaderDetailsCard } from "components/instruction/upgradeable-bpf-loader/UpgradeableBpfLoaderDetailsCard";
import { BpfUpgradeableLoaderDetailsCard } from "components/instruction/bpf-upgradeable-loader/BpfUpgradeableLoaderDetailsCard";
import { VoteDetailsCard } from "components/instruction/vote/VoteDetailsCard";
export type InstructionDetailsProps = {
@@ -173,7 +172,7 @@ function renderInstructionCard({
case "bpf-loader":
return <BpfLoaderDetailsCard {...props} />;
case "bpf-upgradeable-loader":
return <UpgradeableBpfLoaderDetailsCard {...props} />;
return <BpfUpgradeableLoaderDetailsCard {...props} />;
case "system":
return <SystemDetailsCard {...props} />;
case "stake":