Paul Razvan Berg
5232046fce
docs: revise README with ChatGPT
2023-02-25 12:57:06 +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
be349dae78
chore: delete Husky configuration
...
build: remove unused Node.js deps
chore: delete Commitlint configuration
chore: delete unneeded ".solhintignore" file
chore: delete Lint Staged config
docs: delete "Conventional Commits" section in README
docs: delete "Git Hooks" section in README
docs: update README with latest set-up
2023-02-25 11:52:34 +02:00
Paul Razvan Berg
fa0aa1cc7d
chore: update VSCode settings
2023-02-22 16:13:31 +02:00
Paul Razvan Berg
084e321b7a
chore: enable Solhint rule "named-parameters-mapping"
...
chore: disable Solhint rule "no-console"
chore: delete Solhint rule "reason-string"
2023-02-19 23:32:05 +02:00
Paul Razvan Berg
70be85961a
build: upgrade Node.js deps
2023-02-17 19:21:47 +02:00
Paul Razvan Berg
90105bbf51
style: format test contract with forge fmt
2023-02-16 13:00:51 +02:00
Paul Razvan Berg
c333dd8213
chore: run "forge fmt" on every commit
...
docs: update README with latest setup
2023-02-16 13:00:36 +02:00
Paul Razvan Berg
25db8b8c4c
build: upgrade Node.js deps
2023-02-11 13:14:43 +02:00
Paul Razvan Berg
3893c89e4a
build: pin "prb-math" submodule to "v3" branch
...
build: pin "prb-test" submodule to "v1" branch
2023-02-08 22:42:48 +02:00
Paul Razvan Berg
2a5b358823
chore: unignore html files
2023-02-08 10:57:56 +02:00
Paul Razvan Berg
17bf1a26d2
ci: add missing Foundry install
2023-02-07 20:10:50 +02:00
Paul Razvan Berg
2629cc0785
build: upgrade to Yarn v3.4.1
...
build: upgrade Node.js deps
2023-02-07 19:59:19 +02:00
Paul Razvan Berg
4bd096541a
feat: add identity function "id" in "Foo" contract
...
ci: separate jobs in workflow
2023-02-07 14:10:43 +02:00
Paul Razvan Berg
d9208373a1
refactor: use mnemonic in deployment script
...
docs: document BIP39 mnmemonic in README
2023-02-07 14:10:42 +02:00
Paul Razvan Berg
e0967de8c5
refactor: rename Foo to DeployFoo
2023-02-07 14:10:42 +02:00
Paul Razvan Berg
a3a2d3d951
refactor: change pragma to ">=0.8.18"
2023-02-07 14:10:42 +02:00
Paul Razvan Berg
94d778dafb
build: upgrade to solc v0.8.18
...
build: set "cbor_metadata" to "false" in Foundry config
style: format Foundry config with Taplo
2023-02-07 14:10:42 +02:00
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