Sentiment
Instructions
Requirements
- Rust
- Foundry - https://github.com/gakonst/foundry
Cloning Repo
git clone --recurse-submodules git@github.com:sentimentxyz/protocol.git
Building Contracts
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