Skip to content

migrate to eth pricing call #56

migrate to eth pricing call

migrate to eth pricing call #56

Workflow file for this run

on: [pull_request, push]
jobs:
# supersim:
# uses: velodrome-finance/sugar-sdk/.github/workflows/supersim.yaml@main
test:
runs-on: ubuntu-latest
env:
SUGAR_PK: ${{ secrets.SUGAR_PK }}
SUGAR_RPC_URI_10: ${{ secrets.SUGAR_RPC_URI_10 }}
SUGAR_RPC_URI_8453: ${{ secrets.SUGAR_RPC_URI_8453 }}
steps:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Confirm forge is installed
run: forge --version
- name: Install supersim
run: brew install ethereum-optimism/tap/supersim
- name: Confirm supersim is installed
run: supersim --version
- name: Fork
run: |
supersim fork --l2.host=0.0.0.0 --l2.starting.port=4444 --chains=op,base > /dev/null 2>&1 &
sleep 10
- name: Test fork
run: cast call 0x7F6D3A4c8a1111DDbFe282794f4D608aB7Cb23A2 "MAX_TOKENS()(uint256)" --rpc-url http://localhost:4444
- uses: fastai/workflows/nbdev-ci@master