feat: introduce upgradeable bpf loader instruction cards (#15563)

* feat: introduce upgradeable bpf loader instruction cards

* feat: text-muted datatype labels consistently
This commit is contained in:
Josh
2021-02-26 15:50:37 -08:00
committed by GitHub
parent b934e1af17
commit e7bb1b7cd5
8 changed files with 195 additions and 5 deletions

View File

@@ -35,6 +35,7 @@ import {
} from "providers/transactions";
import { Cluster, useCluster } from "providers/cluster";
import { VoteDetailsCard } from "components/instruction/vote/VoteDetailsCard";
import { UpgradeableBpfLoaderDetailsCard } from "components/instruction/upgradeable-bpf-loader/UpgradeableBpfLoaderDetailsCard";
export function InstructionsSection({ signature }: SignatureProps) {
const status = useTransactionStatus(signature);
@@ -162,6 +163,8 @@ function renderInstructionCard({
return <TokenDetailsCard {...props} />;
case "bpf-loader":
return <BpfLoaderDetailsCard {...props} />;
case "bpf-upgradeable-loader":
return <UpgradeableBpfLoaderDetailsCard {...props} />;
case "system":
return <SystemDetailsCard {...props} />;
case "stake":