30 Commits

Author SHA1 Message Date
Ricardo Guilherme Schmidt
68334db0be chore(package.json): update "gas-report" script to use "forge snapshot" command and remove double testing in adorno command. (#33) 2024-09-13 17:48:50 -03:00
Ricardo Guilherme Schmidt
641258d130 Update gas-report command to latest foundry
Foundry changed the test command output, changing the "Test result" to "Suite result", causing the command gas-report to stop working.  See https://github.com/foundry-rs/foundry/pull/7228 17215eb2f7

Updating the word on the gas-report command fixes the problem.
2024-09-13 11:39:06 +02:00
Ricardo Guilherme Schmidt
96e97ba0e2 chore: add preparation commit command pnpm adorno 2024-03-01 10:35:39 +01:00
r4bbit
2eec9a8183 feat: add release command to cut releases
This introduces a new `pnpm release` command in our template which makes
use of `commit-and-tag-version`, that will generate changelogs based on
our project's commit histories.
2024-02-28 08:02:51 +01:00
Ricardo Guilherme Schmidt
b7114854cb chore: add gas-report (#18)
* chore: add gas-report
2024-02-26 14:09:11 +01:00
r4bbit
2b90aeb38a feat: add certora CI integration (#10)
This adds a new command to package.json `verify` which can be run via
`pnpm verify`.

The command runs the certora CLI with a config file which has to be
adjusted for every individual project.

The commit also adds a dedicated task to our github actions, which
ensures, verification is done in every PR as well.
2023-11-23 08:52:05 +01:00
r4bbit
145cb6f7c9 chore: first template adjustments
This is an initial take on adjusting the foundry-template to the Vac's
smart contract unit's needs. In a nutshell what this does is:

1. Update README to not refer to upstream repo where not necessary
2. Removes PRBergTest library from dependencies
3. Removes `FUNDING.qml`
4. Adjust CI actions

There are more things to be done and decided on in follow-up commits.
2023-08-09 10:14:12 +02:00
Paul Razvan Berg
c872c24582 build: bump "solhint-community" node.js dep 2023-07-15 19:32:12 +03:00
Paul Razvan Berg
6b29ac783d build: bump node.js dependencies
chore: simplify scripts in "package.json"
2023-07-07 12:29:05 +03:00
Juan Pablo Capurro
8209998bd7 use solhint-community (#25)
* use solhint-community fork

We're trying to keep solhint afloat with a fork, and done some work on
it so far, mainly the no-unused-imports rule.

Any feedback is appreciated, hope this helps 

see announcement:
https://blog.capu.tech/announcing-solhint-community.html

* docs: update README

---------

Co-authored-by: Paul Razvan Berg <paul.razvan.berg@gmail.com>
2023-06-09 10:30:56 +02:00
Paul Razvan Berg
538fb6f6ee build: bump Node.js deps 2023-04-20 13:23:02 +03:00
Paul Razvan Berg
3579b61b79 build: remove "rimraf" Node.js dep 2023-04-11 22:23:15 +03:00
Paul Razvan Berg
079a699207 build: switch from yarn to pnpm 2023-03-12 12:03:13 +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
70be85961a build: upgrade Node.js deps 2023-02-17 19:21:47 +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
2629cc0785 build: upgrade to Yarn v3.4.1
build: upgrade Node.js deps
2023-02-07 19:59:19 +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
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
a793146917 chore: rename script to "prettier:write" 2022-11-27 16:03:19 +02:00
Paul Razvan Berg
b33a33c2a6 chore: simplify prettier scripts in "package.json" 2022-11-27 13:39:22 +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
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
43e1e113f4 feat: initial commit 2022-07-17 21:57:09 +03:00