Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

Latest commit

 

History

History
56 lines (35 loc) · 753 Bytes

File metadata and controls

56 lines (35 loc) · 753 Bytes

Sentiment

Instructions

Requirements

  1. Rust
  2. Foundry - https://github.com/gakonst/foundry

Cloning Repo

git clone --recurse-submodules git@github.com:sentimentxyz/protocol.git

Building Contracts

forge build

Running tests

Unit/Functional tests

forge test --no-match-contract Integration -vvv

Integration tests

Ethereum mainnet
forge test --match-contract Integration --no-match-contract ArbiIntegration --fork-url https://rpc.ankr.com/eth
Arbitrum mainnet
forge test --match-contract ArbiIntegration --fork-url https://arb1.arbitrum.io/rpc -vvv

Configuring mappings

forge config > remappings.txt