Skip to content

Conversation

@ali-behjati
Copy link
Collaborator

…eeded

@ali-behjati ali-behjati requested a review from Riateche November 27, 2024 11:18
@vercel
Copy link

vercel bot commented Nov 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 27, 2024 1:46pm
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 27, 2024 1:46pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 27, 2024 1:46pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
component-library ⬜️ Ignored (Inspect) Visit Preview Nov 27, 2024 1:46pm
insights ⬜️ Ignored (Inspect) Visit Preview Nov 27, 2024 1:46pm

const initPublisher = async (publisherKey: PublicKey) => {
const initPublisherInPriceStore = async (publisherKey: PublicKey) => {
// Price store is only available in Pythnet and Pythtest-crosschain
if (cluster !== 'pythnet' && cluster !== 'pythtest-crosschain') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a better option would be to check if price store program is deployed on the current chain?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmm that also works. I wanted to avoid doing it for pythtest-conformance but it doesn't matter probably.

@ali-behjati ali-behjati force-pushed the xc-admin-frontend/fix-price-store branch from 947c2cf to c8765e3 Compare November 27, 2024 13:34
@ali-behjati ali-behjati merged commit 76c8255 into main Nov 27, 2024
10 checks passed
@ali-behjati ali-behjati deleted the xc-admin-frontend/fix-price-store branch November 27, 2024 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants