This repository serves as an example of tests written in a development and testing framework called Wake.
- Clone this repository
git submodule update --init --recursiveif not cloned with--recursivecd core && yarn install && cd ..to install Staking Router dependenciescd csm && yarn install && cd ..to install CSM dependenciescd easy-track && yarn install && cd ..to install EasyTrack dependencies./compile_old_solidity.shto compile contracts with older Solidity versions not supported by Wake
wake up pytypesto generate pytypeswake test tests/test_csm_fuzz.pyto run CSM fuzz test (see tests for other tests)
wake --config wake-deployment-verification.toml up pytypesto generate pytypeswake test tests/test_csm_deployment.pyto perform deployment verification for CSMwake test tests/test_sr_deployment.pyto perform deployment verification for Staking Router
Tested with wake version 4.14.1 and anvil version anvil 0.2.0 (00efa0d 2024-12-09T00:29:01.834942000Z). Fuzz tests expect a local Ethereum mainnet node running at http://localhost:8545 synchronized to the block 20935461 or later.
