Skip to content

Commit b7a6726

Browse files
committed
pre-commit
1 parent bb1aaa7 commit b7a6726

File tree

1 file changed

+4
-4
lines changed
  • pages/price-feeds/troubleshoot

1 file changed

+4
-4
lines changed

pages/price-feeds/troubleshoot/svm.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ Follow the steps provided below to diagnose and resolve the issue.
55

66
### compilation error[E0277]: the trait bound PriceUpdateV2: anchor_lang::AccountDeserialize is not satisfied
77

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)
1010
matchers the version of `anchor-lang` of your programs `Cargo.toml`.
1111

1212
You can fix it by following steps:
1313

1414
- Check the version of `anchor-lang` in your `Cargo.toml` (in the example `0.29.0{:js}`) call it `x.y.z`
1515
- 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`
1616
- Run `cargo update -p [email protected] --precise x.y.z{:bash}`
17-
replacing `a.b.c` and `x.y.z` by the versions in the previous steps. For example:\
18-
`cargo update -p [email protected] --precise 0.29.0{:bash}`
17+
replacing `a.b.c` and `x.y.z` by the versions in the previous steps. For example:\
18+
`cargo update -p [email protected] --precise 0.29.0{:bash}`

0 commit comments

Comments
 (0)