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

Fix SWB pull oracle program id #237

Merged
merged 5 commits into from
Aug 19, 2024
Merged

Fix SWB pull oracle program id #237

merged 5 commits into from
Aug 19, 2024

Conversation

jgur-psyops
Copy link
Contributor

@jgur-psyops jgur-psyops commented Aug 19, 2024

Was incorrectly using V2 (switchboard_on_demand::SWITCHBOARD_PROGRAM_ID) instead of on_demand (switchboard_on_demand::SWITCHBOARD_ON_DEMAND_PROGRAM_ID), now hardcoded in local constants to avoid ambiguity.

Fixes CI config so unit tests can run again.

Note: using switchboard_on_demand::SWITCHBOARD_ON_DEMAND_PROGRAM_ID can cause the program to silently fail to build (likely from lazy static) and throw program is not deployed in testing.

@jgur-psyops jgur-psyops added the bug Something isn't working label Aug 19, 2024
@lmvdz
Copy link

lmvdz commented Aug 19, 2024

in 0.1.14 of switchboard-on-demand switchboard provides two new pubkeys

This will be needed for me in devnet 👍

image

@jgur-psyops jgur-psyops merged commit f0feb6e into main Aug 19, 2024
4 checks passed
@jgur-psyops jgur-psyops deleted the swb-on-demand-key branch August 19, 2024 16:19
jkbpvsc added a commit that referenced this pull request Oct 15, 2024
* Was incorrectly using V2 (switchboard_on_demand::SWITCHBOARD_PROGRAM_ID) instead of on_demand (switchboard_on_demand::SWITCHBOARD_ON_DEMAND_PROGRAM_ID), now hardcoded in local constants to avoid ambiguity.

* Fixes CI config so unit tests can run again.

---------

Co-authored-by: J <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants