Skip to content

Commit

Permalink
Update using-pyth-price-feeds.md (#314)
Browse files Browse the repository at this point in the history
This commit updates the tutorial documentation on using Pyth Price Feeds with Foundry to fix a TOML parse error encountered by users when setting up the foundry.toml file. The issue was identified in the "Installing Pyth smart contracts" section, where mismatched quotation marks in the remappings line caused a parse error. The original line used inconsistent quotes.

The fix involves correcting the quotation marks to ensure consistency, thereby preventing the TOML parse error:
`remappings = ['@pythnetwork/pyth-sdk-solidity/=lib/pyth-sdk-solidity']`
  • Loading branch information
twynne20 authored Feb 9, 2024
1 parent 14ee5f6 commit 778957d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ forge install pyth-network/[email protected] --no-git --no-commit
Once installed, update your `foundry.toml` file by appending the following line:

```bash
remappings = ['@pythnetwork/pyth-sdk-solidity/=lib/pyth-sdk-solidity]
remappings = ['@pythnetwork/pyth-sdk-solidity/=lib/pyth-sdk-solidity']
```

---
Expand Down

0 comments on commit 778957d

Please sign in to comment.