Deployed Subgraphs
First, use node scripts/switchNetwork.js <network-name>
to set correct addresses and the network.
Available networks: arbitrum-sepolia
, berachain-bepolia
, berachain-mainnet
Use goldsky
CLI tool to deploy.
To run tests against the legacy subgraph, run:
yarn test:compat
To run unit tests, you first need to build a Docker image:
yarn test:build
Now run the tests:
yarn test:unit
If you are on Windows, run
yarn test:unit-win
instead.