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

move send_usd example from pyth-crosschain #11

Merged
merged 2 commits into from
Jun 3, 2024
Merged

Conversation

cctdaniel
Copy link
Contributor

No description provided.


[dependencies]
anchor-lang = "0.30.0"
solana-program = "1.17.3"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

bump this due to getting ProgramError::ArithmeticOverflow when compiling the program, more info here: coral-xyz/anchor#2975

we are using pyth-solana-receiver-sdk which uses anchor-lang 0.30.0 whereas the package here intially used 0.28.0 which caused this issue so bumping both to the working version

"react-scripts": "5.0.1",
"typescript": "^4.9.5",
"web-vitals": "^2.1.4",
"rpc-websockets": "7.11.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

got a build error Error: Cannot find module 'rpc-websockets/dist/lib/client' so explicitly declared the version here as suggested here

@aditya520 aditya520 merged commit 4ed83d8 into main Jun 3, 2024
@aditya520 aditya520 deleted the solana-send-usd branch June 3, 2024 13:02
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.

2 participants