Tested on: $ node -v v18.16.0 $ yarn -v 1.22.21
- Clone
git clone --recurse-submodules -j8 https://github.com/redstone-finance/minimal-foundry-repo.git
- Build redstone protocol
cd ./lib/redstone-oracles-monorepo/packages/protocol && yarn && yarn build
- Run tests
forge test --ffi -vvv
Check file test/Counter.t.sol
to see how to mock redstone oracles.