Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apps/insights/src/components/PriceComponentDrawer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,14 @@ export const PriceComponentDrawer = ({
<StatCard
nonInteractive
header="Aggregate Price"
small
stat={<LivePrice feedKey={feedKey} />}
/>
<StatCard
nonInteractive
header="Publisher Price"
variant="primary"
small
stat={<LivePrice feedKey={feedKey} publisherKey={publisherKey} />}
/>
<StatCard
Expand Down
17 changes: 10 additions & 7 deletions apps/insights/src/components/PriceFeed/publishers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,17 @@ type Props = {
export const Publishers = async ({ params }: Props) => {
const { slug } = await params;
const symbol = decodeURIComponent(slug);
const [feeds, pythnetPublishers, pythtestConformancePublishers] =
await Promise.all([
getFeeds(Cluster.Pythnet),
getPublishers(Cluster.Pythnet, symbol),
getPublishers(Cluster.PythtestConformance, symbol),
]);
const [
feeds,
pythnetPublishers, // , pythtestConformancePublishers
] = await Promise.all([
getFeeds(Cluster.Pythnet),
getPublishers(Cluster.Pythnet, symbol),
// getPublishers(Cluster.PythtestConformance, symbol),
]);
const feed = feeds.find((feed) => feed.symbol === symbol);
const publishers = [...pythnetPublishers, ...pythtestConformancePublishers];
// const publishers = [...pythnetPublishers, ...pythtestConformancePublishers];
const publishers = [...pythnetPublishers];
const metricsTime = pythnetPublishers.find(
(publisher) => publisher.ranking !== undefined,
)?.ranking?.time;
Expand Down
Loading