-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(governance/xc_admin): init publishers for price store only when n… #2149
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Skipped Deployments
|
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') { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
947c2cf
to
c8765e3
Compare
…eeded