Skip to content
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

Expose pythnet message buffer idls #865

Merged
merged 13 commits into from
Jun 9, 2023
Merged

Conversation

ali-bahjati
Copy link
Collaborator

@ali-bahjati ali-bahjati commented Jun 8, 2023

This PR exposes message buffer idls that can be further used by xc-admin to init/delete a buffers. Also adds a CI check to ensure that the idls are always up to date.

I changed anchor default package manager from yarn to npm and then I needed to add skipLibCheck globally because jest (used in other packages) and mocha (used in Anchor) types are conflicting and can't build together. In the process of adding it to the base tsconfig i realized not all of the packages use that and ran into totally unrelated issue.

p.s: One of the issues was ws-isomorphic package behaving differently and resulting in a build error for the price-service-client (weirdly it seems that package-lock hasn't changed anything about it! I think this is because of the tsconfig base "strict" option). Anyway i tested the example to make sure it works fine.

@vercel
Copy link

vercel bot commented Jun 8, 2023

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

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
example-oracle-amm ⬜️ Ignored (Inspect) Visit Preview Jun 9, 2023 9:48am
xc-admin-frontend ⬜️ Ignored (Inspect) Visit Preview Jun 9, 2023 9:48am

@ali-bahjati ali-bahjati force-pushed the add-message-buffer-to-xc-admin branch from c6238fa to 28017e5 Compare June 8, 2023 14:52
@ali-bahjati ali-bahjati changed the title WIP: Expose pythnet message buffer idls Expose pythnet message buffer idls Jun 8, 2023
@Reisen
Copy link
Contributor

Reisen commented Jun 8, 2023

Just for my own curiosity to understand better, was it not possible to do the shift to npm separately. Think It's fine to have it in this PR but I wanted to make sure I understand why if any reason it might've been dependent on that change.

I understand now.

Copy link
Contributor

@guibescos guibescos left a comment

Choose a reason for hiding this comment

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

Please address comments

@ali-bahjati ali-bahjati merged commit 183081c into main Jun 9, 2023
@ali-bahjati ali-bahjati deleted the add-message-buffer-to-xc-admin branch June 9, 2023 12:10
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