You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/price-feeds/troubleshoot/svm.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,16 +3,16 @@
3
3
This reference page is designed to help you troubleshoot common issues you may encounter when using Pyth Price Feeds on SVM chains.
4
4
Follow the steps provided below to diagnose and resolve the issue.
5
5
6
-
1.`compilation error[E0277]: the trait bound PriceUpdateV2: anchor_lang::AccountDeserialize is not satisfied{:rust}`
6
+
1.`error[E0277]: the trait bound PriceUpdateV2: anchor_lang::AccountDeserialize is not satisfied{:rust}`
7
7
8
8
This error happens when a program using the [`pyth-solana-receiver-sdk`](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/solana/pyth_solana_receiver_sdk) fails to compile. It is caused by an `anchor-lang` version mismatch.
9
9
Make sure the transitive version of `anchor-lang` brought by `pyth-solana-receiver-sdk`
10
10
matches the version of `anchor-lang` of your program's `Cargo.toml`.
11
11
12
-
You can fix it by following steps:
12
+
You can fix it by following these steps:
13
13
14
-
- Check the version of [`anchor-lang`](https://github.com/guibescos/anchor-pyth/blob/broken-build/programs/anchor-pyth/Cargo.toml) in your `Cargo.toml` (in the example `0.29.0{:js}`) call it `x.y.z`
15
-
- Check the version of `anchor-lang` in the `pyth-solana-receiver-sdk` tree in `Cargo.lock` (in the example `0.30.1{:js}`) call it `a.b.c`
14
+
- Check the version of `anchor-lang` in your [`Cargo.toml`](https://github.com/guibescos/anchor-pyth/blob/broken-build/programs/anchor-pyth/Cargo.toml) (in the example `0.29.0{:js}`) call it `x.y.z`
15
+
- Check the version of `anchor-lang` in the `pyth-solana-receiver-sdk` tree in [`Cargo.lock`](https://github.com/guibescos/anchor-pyth/blob/broken-build/programs/anchor-pyth/Cargo.lock) (in the example `0.30.1{:js}`) call it `a.b.c`
0 commit comments