Commit Graph

10 Commits

Author SHA1 Message Date
r4bbit 22704ebe1a
refactor: move deployer assignment to the top (#9)
This ensures `deployer` is set then deployment configs are created.
2023-09-26 16:35:42 +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 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 1baddd764a
refactor: rename deployer to broadcaster
feat: use $ETH_FROM as broadcaster
2023-07-03 12:42:23 +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 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 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 43e1e113f4
feat: initial commit 2022-07-17 21:57:09 +03:00