Skip to content

Latest commit

 

History

History
56 lines (35 loc) · 753 Bytes

README.md

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 [email protected]: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