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
@@ -5,14 +5,14 @@ Follow the steps provided below to diagnose and resolve the issue.
5
5
6
6
### compilation error[E0277]: the trait bound PriceUpdateV2: anchor_lang::AccountDeserialize is not satisfied
7
7
8
-
This error is caused by an `anchor-lang` version mismatch.
9
-
Make sure the transitive version of `anchor-lang` brough by [pyth-solana-receiver-sdk](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/solana/pyth_solana_receiver_sdk)
8
+
This error is caused by an `anchor-lang` version mismatch.
9
+
Make sure the transitive version of `anchor-lang` brough by [pyth-solana-receiver-sdk](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/solana/pyth_solana_receiver_sdk)
10
10
matchers the version of `anchor-lang` of your programs `Cargo.toml`.
11
11
12
12
You can fix it by following steps:
13
13
14
14
- Check the version of `anchor-lang` in your `Cargo.toml` (in the example `0.29.0{:js}`) call it `x.y.z`
15
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`
0 commit comments