Commit Graph

162 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 b9342870e7
docs: capitalize GitHub username 2023-01-16 13:40:22 +02:00
Paul Razvan Berg 53d045743d
feat: add "[etherscan]" and "[rpc_endpoints]" configuration
docs: update deployment script usage in README
feat: add "INFURA_API_KEY", "ETHERSCAN_API_KEY"
refactor: replace "PRIVATE_KEY" with "MNEMONIC"
2023-01-08 22:19:42 +02:00
Paul Razvan Berg 3b962e32b8
chore: remove ETH_FROM from ".env.example" 2023-01-08 22:11:42 +02:00
Paul Razvan Berg eec4fa2b75
chore: delete "override_spacing" option in Foundry config
See https://github.com/foundry-rs/foundry/pull/4023
2023-01-08 11:55:01 +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 c0d28ea3f4
chore: do not run Prettier over "*.sol" files 2023-01-04 23:31:44 +02:00
Paul Razvan Berg 29b210d4ed
build: upgrade to latest forge-std 2023-01-04 14:15:20 +02:00
Paul Razvan Berg 6b4024acb2
chore: replace "variable_override_spacing" with "override_spacing" 2023-01-04 14:14:35 +02:00
Paul Razvan Berg abb4f402c9
chore: add more "fmt" rules in Foundry config
chore: run "yarn solhint" instead of just "solhint"
2023-01-03 22:49:02 +02:00
Paul Razvan Berg 53190331f6
docs: reference VSCode integration guide 2023-01-03 21:24:39 +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 0ebca896c8
test: run fuzz 1,000 times by default 2023-01-03 16:30:03 +02:00
Paul Razvan Berg a4eb52abc5
chore: git ignore "*.html" and "lcov.info" files 2023-01-02 13:54:45 +02:00
Paul Razvan Berg d04a587232
chore: update copyright year in license 2023-01-01 13:26:12 +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 3bd0c90840
ci: be more specific in "build --sizes" step 2022-12-21 13:16:08 +02:00
Paul Razvan Berg d7a4c6c70f
docs: mention coverage command in README 2022-12-20 19:42:12 +02:00
Paul Razvan Berg 0d39c55f7d
build: upgrade to latest forge-std 2022-12-19 15:29:38 +02:00
Paul Razvan Berg f8f39f0bd8
ci: use Foundry action from "foundry-rs" org 2022-12-16 14:59:16 +02:00
Paul Razvan Berg 0777b7fea7
build: upgrade to prb-test v0.3.1
build: upgrade to latest forge-std
2022-12-16 14:53:23 +02:00
Paul Razvan Berg 60e93a0342
build: upgrade to prb-test v0.2.1 2022-12-04 20:52:32 +02:00
Paul Razvan Berg 1068a5e60e
build: upgrade to prb-test v0.2.0
build: upgrade to latest forge-std
2022-12-04 10:17:32 +02:00
Paul Razvan Berg 0fb4789197
chore: surround values with double quotes in ".yarnrc.yml" 2022-11-28 13:29:02 +02:00
Paul Razvan Berg f61f97f26b
chore: pass "files" as string in Prettier config 2022-11-28 13:22:51 +02:00
Paul Razvan Berg a793146917
chore: rename script to "prettier:write" 2022-11-27 16:03:19 +02:00
Paul Razvan Berg 4554e07f93
chore: simplify prettier command in lintstaged 2022-11-27 13:40:57 +02:00
Paul Razvan Berg b33a33c2a6
chore: simplify prettier scripts in "package.json" 2022-11-27 13:39:22 +02:00
Paul Razvan Berg bfe3ebc2f1
chore: remove "endOfLine" from Prettier config
chore: remove superfluous end line in Foundry config
2022-11-27 13:34:46 +02:00
Paul Razvan Berg db9eb3962d
build: upgrade to prettier-plugin-solidity v1.0.0
build: upgrade other dev deps
2022-11-21 12:46:00 +02:00
Paul Razvan Berg ab14bc361d
chore: add "src" to remappings
The goal is to make paths work with VSCode's "Go to Definition"
2022-11-20 16:34:27 +02:00
Paul Razvan Berg 05be6a476b
test: rename test contract to "FooTest" 2022-11-18 21:50:45 +02:00
Paul Razvan Berg a65cf640c6
build: bump "forge-std" to v1.0.0 2022-11-01 10:34:03 +02:00
Paul Razvan Berg 71eb689478
chore: reorder imports alphabetically 2022-10-31 18:34:49 +02:00
Paul Razvan Berg 292a8fe663
style: enable "useTabs" Prettier rule 2022-10-31 18:33:56 +02:00
Paul Razvan Berg d65aac1506
build: add resolution for "@solidity-parser/parser" 2022-10-30 18:46:48 +02:00
Paul Razvan Berg 7797762cb1
chore: add generic lint script 2022-10-30 18:44:12 +02:00
Paul Razvan Berg 26000b31e5
build: upgrade dev deps 2022-10-30 18:40:32 +02:00
Paul Razvan Berg 0e421efe5a
build: upgrade to yarn v3.2.4 2022-10-30 18:39:19 +02:00
Paul Razvan Berg ac363e567b
chore: add "clean" script
build: add "rimraf" dev dep
2022-10-30 18:36:44 +02:00
Paul Razvan Berg 303db78fe2
chore: simplify scripts in "package.json" 2022-10-30 18:34:34 +02:00
Paul Razvan Berg be98f12067
chore: change testnet to Sepolia 2022-10-30 18:28:21 +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 d9294fdf54
chore: update "fuzz" object in Foundry config 2022-10-29 13:41:24 +03:00
Paul Razvan Berg 124aa29492
style: run Prettier over Markdown files 2022-10-16 12:55:21 +03:00
Paul Razvan Berg 34b65a2622
chore: fix lint-staged config 2022-10-16 12:44:50 +03:00
Paul Razvan Berg d651e10bbb
ci: use LTS version in CI script 2022-10-15 22:30:41 +03:00
Paul Razvan Berg d6a299a692
chore: use "yml" extension for lintstaged config 2022-10-15 22:26:25 +03:00