Commit Graph

16 Commits

Author SHA1 Message Date
Paul Razvan Berg f5a68d8737
feat: add more chains in Foundry config
refactor: rename api key env vars
2023-03-01 14:15:16 +02:00
Paul Razvan Berg c80e5a8e0d
test: upper bound pragma 2023-02-25 15:52:34 +02:00
Paul Razvan Berg f21a3a6c68
build: upgrade to Solidity v0.8.19
chore: set "script" in Foundry config
2023-02-25 12:40:42 +02:00
Paul Razvan Berg 90105bbf51
style: format test contract with forge fmt 2023-02-16 13:00:51 +02:00
Paul Razvan Berg a3a2d3d951
refactor: change pragma to ">=0.8.18" 2023-02-07 14:10:42 +02:00
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