Skip to content

Latest commit

 

History

History
66 lines (47 loc) · 1.22 KB

README.md

File metadata and controls

66 lines (47 loc) · 1.22 KB

Cross Margin Engine



Get Started

forge build
forge test

For auto linting and running gas snapshot, you will also need to setup npm environment, and install husky hooks

# install yarn dependencies
yarn
# install hooks
npx husky install

Test locally

forge test

Run Coverage

forge coverage

Linting

forge fmt

Run Slither

installation

pip3 install slither-analyzer
pip3 install solc-select
solc-select install 0.8.13
solc-select use 0.8.13

Run analysis

slither ./src/core/