Commit Graph

11 Commits

Author SHA1 Message Date
Paul Razvan Berg 49b82cbcd4
ci: expose env vars in GitHub workflow
test: add explanatory code comments in fork test
2023-01-17 19:59:49 +02:00
Paul Razvan Berg 0efda5eabb
test: add Ethereum Mainnet fork test
feat: add "ALCHEMY_API_KEY" env var
feat: add "ethereum"
ci: delete now-stale "version" param in foundry-toolchain
refactor: delete "ETH_RPC_URL" env var
test: delete console log in "testFuzz_Example"
test: use "assertGt" instead of "assertTrue" for "x > 0" comparison
2023-01-17 19:49:14 +02:00
Paul Razvan Berg fb77ad3549
chore: reorder imports 2023-01-07 11:50:02 +02:00
Paul Razvan Berg b67c427d3b
test: add fuzz test
build: upgrade to latest forge-std
chore: disable "func-name-mixedcase" rule
test: rename test names to conform with Foundry best practices
2023-01-07 11:48:58 +02:00
Paul Razvan Berg 6d027d098b
refactor: substitute "forge fmt" for "prettier-plugin-solidity"
build: remove "prettier-plugin-solidity" and "solhint-plugin-prettier" deps
chore: add "fmt" configuration in Foundry config
chore: delete solidity override from Prettier rules
chore: delete solidity rules from Solhint config
chore: modify scripts to run Prettier on all files except "*.sol"
test: document "setUp" function
2023-01-03 21:18:14 +02:00
Paul Razvan Berg 5bf329715e
ci: fuzz 10,000 times
test: mark "testExample" function as "external"
2022-12-24 16:10:31 +02:00
Paul Razvan Berg 05be6a476b
test: rename test contract to "FooTest" 2022-11-18 21:50:45 +02:00
Paul Razvan Berg 71eb689478
chore: reorder imports alphabetically 2022-10-31 18:34:49 +02:00
Paul Razvan Berg 702979aa1c
build: upgrade to prb-test v0.1.3
build: upgrade to latest forge-std
test: use "StdCheats" instead of "Cheats"
test: use "console2" instead of "console"
2022-10-29 16:37:43 +03:00
Paul Razvan Berg 3abaf8aa40
test: import and use Cheats from Forge Std
build: update to forge-std v0.3
2022-07-31 12:28:44 +03:00
Paul Razvan Berg 43e1e113f4
feat: initial commit 2022-07-17 21:57:09 +03:00