Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
rpiszczatowski committed Sep 10, 2024
1 parent ed118da commit 45d8683
Show file tree
Hide file tree
Showing 5 changed files with 11,883 additions and 8,422 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Enable corepack
run: |
mkdir -p $HOME/bin
export PATH=$HOME/bin:$PATH
echo "$HOME/bin" >> $GITHUB_PATH
corepack enable --install-directory $HOME/bin
- uses: actions/setup-node@v4
with:
node-version: 20
Expand Down
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
4 changes: 2 additions & 2 deletions docs/get-started/models/redstone-erc7412.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ TLDR; You need to do 2 things:

1. Install dependency `npm install @redstone-finance/erc7412`
2. You have to extend contract `RedstonePrimaryProdWithoutRoundsERC7412` imported from `@redstone-finance/erc7412/contracts/RedstoneERC7412.sol`
1. Implement `getTTL` method. It should return duration in second after which price in contract becomes stale. Stale means that price feed contract will revert on reads until price will be updated. Price updates will happen this is described in "Modify DAPP" section.
2. Choose `dataFeedId` for which you want to deploy feed. Here is full list of [supported assets](https://app.redstone.finance/#/app/data-services/redstone-primary-prod)
1. Implement `getTTL` method. It should return duration in second after which price in contract becomes stale. Stale means that price feed contract will revert on reads until price will be updated. Price updates will happen this is described in "Modify DAPP" section.
2. Choose `dataFeedId` for which you want to deploy feed. Here is full list of [supported assets](https://app.redstone.finance/#/app/data-services/redstone-primary-prod)
3. Deploy contract

#### Example contract for BTC dataFeedId
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
"@docusaurus/plugin-client-redirects": "^3.5.2",
"@docusaurus/preset-classic": "^3.5.2",
"@mdx-js/react": "^3.0.1",
"@types/react":"^18.3.5",
"@types/react": "^18.3.5",
"clsx": "^2.1.1",
"prism-react-renderer": "^2.4.0",
"react": "^18.3.1",
"typescript": "^5.5.0",
"react-loadable": "^5.5.0",
"react-dom": "^18.3.1",
"search-insights": "^2.17.1"
"react-loadable": "^5.5.0",
"search-insights": "^2.17.1",
"typescript": "^5.5.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.5.2",
Expand All @@ -46,5 +46,5 @@
"last 1 safari version"
]
},
"packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
"packageManager": "yarn@4.3.1"
}
Loading

0 comments on commit 45d8683

Please sign in to comment.