Commit Graph

153 Commits

Author SHA1 Message Date
r4bbit 14b9b1ed0a
chore: yarn -> pnpm in PULL_REQUEST_TEMPLATE
We're using `pnpm` not `yarn`.
2023-09-09 13:41:53 +02:00
r4bbit 4406e91add
Revert "chore: don't prettier ignore slither config"
This reverts commit dde442c881.
2023-09-09 13:25:14 +02:00
r4bbit dde442c881
chore: don't prettier ignore slither config 2023-09-09 13:23:06 +02:00
r4bbit 6af96c0556
docs: add missing docs about fixing linting errors (#7) 2023-09-08 21:42:27 +02:00
r4bbit a7f24844a2
build: add codecov task to CI actions (#6) 2023-09-08 18:15:36 +02:00
r4bbit 3def4811ff
chore: add slither config (#4)
This is so we can run `slither .` in any of our projects.
2023-09-07 10:25:03 +02:00
r4bbit 013c9b7e9f
feat: add `DeploymentConfig` for network specifc deployments (#5)
To allow deployment to different chains but using the same deployment
scripts, this commit introduces a basic `DeploymentConfig` which can be
extended as necessary in each project.

There's a few things that should be considered:

- `activeNetworkConfig` will be initialized via the constructor, at
  which point it is know what `block.chainid` is
- To add new configuration settings, extend `NetworkConfig`
- To add a new config for a different chain, extend the `if/else` block
  in the constructor so that it creates a `NetworkConfig` for the chain
  in question
2023-09-07 10:21:11 +02:00
r4bbit 43a1dff852
chore: add `PROPERTIES.md` to upstream differences (#3) 2023-08-10 09:17:09 +02:00
r4bbit 8e581d3057
chore: add PROPERTIES.md (#2)
This file used in projects to lay out the protocol's properties and
invariants. It also serves as a documentation for test coverage.
2023-08-09 11:38:21 +02: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 b99793eea1
Merge pull request #28 from PaulRBerg/fix/template-installation
fix: template installation
2023-07-21 10:48:51 +02:00
Paul Razvan Berg 3b389fbf79
fix: fix template installation 2023-07-21 10:47:07 +02:00
Paul Razvan Berg c872c24582
build: bump "solhint-community" node.js dep 2023-07-15 19:32:12 +03:00
Paul Razvan Berg 4fd9a43324
chore: remove src/=src/ remapping 2023-07-15 19:30:35 +03:00
Paul Razvan Berg 0b903a1ceb
feat: add FOUNDRY_PROFILE env var
ci: remove unneeded env vars
2023-07-07 12:32:52 +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
Paul Razvan Berg 1baddd764a
refactor: rename deployer to broadcaster
feat: use $ETH_FROM as broadcaster
2023-07-03 12:42:23 +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 bce0b0e689
chore: update pnpm lockfile 2023-05-30 15:48:37 +03:00
Paul Razvan Berg 67f789e443
build: bump prb-test and forge-std 2023-05-28 14:04:55 +03:00
Paul Razvan Berg 59d03d00ad
build: set "evm_version" explicitly 2023-05-26 23:47:58 +03:00
Paul Razvan Berg 2de57a310a
Merge pull request #23 from d1onys1us/fish-compliant
fix: make .env.example compatible for fish shell users
2023-05-26 12:01:01 +03:00
Paul Razvan Berg 4d688c3d92
test: deploy "foo" in "setUp" 2023-05-26 11:52:17 +03:00
dave | d1onys1us 11cc8b4fa1
chore: remove the (now deprecated) prettier plugin from README (#24)
* chore: remove the (now deprecated) prettier plugin from README

* Update README.md
2023-05-26 11:43:21 +03:00
d1onys1us da06375929 fix: make .env.example compatible for fish shell users 2023-05-25 21:22:04 -04:00
Paul Razvan Berg 80436e5358
test: use Foo in tests 2023-05-23 21:45:52 +03:00
Paul Razvan Berg ff057dcea5
build: bump prb-test 2023-05-05 16:03:57 +03:00
Paul Razvan Berg 2adf700cd3
build: bump forge-std 2023-05-04 21:50:11 +03:00
Paul Razvan Berg 87cdb22732
build: bump prb-test 2023-04-29 20:01:59 +03:00
Paul Razvan Berg dd56c9c0f1
feat: add "BaseScript"
refactor: rename "DeployFoo" to just "Deploy"
2023-04-29 13:11:35 +03:00
Paul Razvan Berg 9d38a2be03
build: remove unused "prb-math" dep 2023-04-21 21:01:39 +03:00
Paul Razvan Berg ddfa42ea5c
build: bump PRBMath and PRBTest 2023-04-21 11:34:17 +03:00
Paul Razvan Berg 538fb6f6ee
build: bump Node.js deps 2023-04-20 13:23:02 +03:00
Paul Razvan Berg 4d7397d4e9
feat: add Gnosis chain 2023-04-20 13:23:02 +03:00
Paul Razvan Berg 9166755411
refactor: use same chain names as StdChains
build: bump "forge-std"
2023-04-20 13:22:55 +03:00
Paul Razvan Berg c1bc6d1adb
docs: improve wording in comments
cI: reorder values in "on"
docs: add a reference to `bound`
2023-04-18 14:14:53 +03:00
Paul Razvan Berg bf567974af
Merge pull request #19 from 0xcacti/patch-1 2023-04-17 08:58:42 +03:00
0xcacti 2561f577ce
Update foundry.toml 2023-04-16 23:06:26 -04:00
Paul Razvan Berg 3579b61b79
build: remove "rimraf" Node.js dep 2023-04-11 22:23:15 +03:00
Paul Razvan Berg 3e8c4e8902
chore: mark "lib" as vendored code 2023-04-07 22:08:31 +03:00
Paul Razvan Berg f1c6d5e8e7
test: mark setUp as virtual 2023-04-01 09:46:18 +03:00
Paul Razvan Berg dbbb25c560
test: set block_timestamp in Foundry config 2023-04-01 09:46:05 +03:00
Paul Razvan Berg 22aa428f82
ci: use specific pnpm version 2023-03-28 19:08:53 +03:00
Paul Razvan Berg d3aa3ab78d
build: update pnpm lockfile 2023-03-28 19:04:42 +03:00
Paul Razvan Berg 887e47d5ee
build: bump "prb-math" 2023-03-19 17:46:01 +02:00
Paul Razvan Berg 86208cef21
ci: remove "FUNDING.yml" on create 2023-03-18 00:52:37 +02:00
Paul Razvan Berg 34e6610c37
Merge pull request #17 from Michael-A-Heuer/patch-1
Fix wrong network alias
2023-03-17 23:32:43 +02:00
Michael Heuer 237419911f
Fix wrong network alias 2023-03-17 18:41:43 +01:00
Paul Razvan Berg 277f09c6f9
docs: update wording in README 2023-03-16 18:50:47 +02:00
Paul Razvan Berg 9ea2a422b7
chore: rename "ethereum" to "mainnet" in Foundry config 2023-03-15 11:23:21 +02:00