Paul Razvan Berg
003fcb32de
build: change "branch" to "v1" for "forge-std"
...
build: delete the "branch" for "prb-math"
2023-02-07 14:10:42 +02:00
Paul Razvan Berg
92c82710c1
ci: simplify syntax for "on:"
...
ci: add "workflow_dispatch" in "on" for "main" branch
2023-02-07 14:10:36 +02:00
Paul Razvan Berg
479ef4fbdc
feat: add "even-better-toml" in VSCode settings
2023-01-26 13:19:46 +02:00
Paul Razvan Berg
af8aec11d4
forge install: prb-math
...
v3.2.0
2023-01-23 12:54:01 +02:00
Paul Razvan Berg
ca42016fa3
feat: commit VSCode settings
2023-01-23 12:38:32 +02:00
Paul Razvan Berg
adcec923c6
style: add "tabWidth" Prettier override for Solidity
2023-01-19 16:18:22 +02:00
Paul Razvan Berg
2fcb6ac057
style: set default "tabWidth" to 4
2023-01-19 16:14:42 +02:00
Paul Razvan Berg
45e7248c37
ci: add fuzz seed to avoid burning rpc requests
2023-01-18 18:10:48 +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
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