Skip to content

Commit

Permalink
deployment addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
jordaniza committed Oct 11, 2024
1 parent d08a32f commit 5af967d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 14 deletions.
21 changes: 19 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,29 @@ ft-sepolia-fork :; forge test --match-contract TestE2EV2 \

# Fork testing - mainnet
ft-mainnet-fork :; forge test --match-contract TestE2EV2 \
--rpc-url https://eth.llamarpc.com \
--fork-block-number 20890902 \
--rpc-url https://eth-mainnet.g.alchemy.com/v2/$(ALCHEMY_API_KEY) \
-vvvvv

#### Deployments ####

deploy-preview-mainnet :; forge script script/Deploy.s.sol:Deploy \
--rpc-url https://eth-mainnet.g.alchemy.com/v2/$(ALCHEMY_API_KEY) \
--private-key $(DEPLOYMENT_PRIVATE_KEY) \
-vvvvv

deploy-mainnet :; forge script script/Deploy.s.sol:Deploy \
--rpc-url https://eth-mainnet.g.alchemy.com/v2/$(ALCHEMY_API_KEY) \
--slow \
--resume \
--private-key $(DEPLOYMENT_PRIVATE_KEY) \
--verify \
--etherscan-api-key $(ETHERSCAN_API_KEY) \
-vvvvv

log-mainnet :; forge script Logger \
--rpc-url https://eth-mainnet.g.alchemy.com/v2/$(ALCHEMY_API_KEY) \
-vvvvv

deploy-preview-mode-sepolia :; forge script script/Deploy.s.sol:Deploy \
--rpc-url https://sepolia.mode.network \
--private-key $(DEPLOYMENT_PRIVATE_KEY) \
Expand Down
23 changes: 11 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,19 +71,18 @@ Check the `Makefile` for examples of deployments on different networks.

### Deployment Checklist

- [] I have reviewed the parameters for the veDAO I want to deploy
- [] I have reviewed the multisig file for the correct addresses
- [] I have ensured all multisig members have undergone a proper security review and are aware of the security implications of being on said multisig
- [] I have updated the `.env` with these parameters
- [] I have updated the `CurveConstantLib` and `Clock` with any new constants.
- [] All my unit tests pass
- [] I have run a fork test in `fork-deploy` mode against the OSx contracts on my target testnet
- [] I have deployed my contracts successfully to a target testnet
- [x] I have reviewed the parameters for the veDAO I want to deploy
- [x] I have reviewed the multisig file for the correct addresses
- [x] I have ensured all multisig members have undergone a proper security review and are aware of the security implications of being on said multisig
- [x] I have updated the `.env` with these parameters
- [x] I have updated the `CurveConstantLib` and `Clock` with any new constants.
- [x] All my unit tests pass
- [x] I have run a fork test in `fork-deploy` mode against the OSx contracts on my target testnet
- [x] I have deployed my contracts successfully to a target testnet
- [x] I have previewed my deploy
- [x] My deployer address is a fresh wallet or setup for repeat production deploys in a safe manner.
- [x] My wallet has sufficient native token for gas
- [] I have confirmed my tests still work in `fork-existing` mode with the live tokens and the factory.
- [] I have run the same workflow against the mainnet I wish to deploy on
- [] I have previewed my deploy
- [] My deployer address is a fresh wallet or setup for repeat production deploys in a safe manner.
- [] My wallet has sufficient native token for gas

**Puffer Only**

Expand Down

0 comments on commit 5af967d

Please sign in to comment.