-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fa183e8
commit a53d703
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
-include .env | ||
|
||
# Build contracts | ||
build :; forge build | ||
|
||
# Run tests | ||
run-tests :; forge test | ||
|
||
# Clean build contracts | ||
clean :; forge clean | ||
|
||
# Generate coverage stats using lcov and genhtml | ||
# See https://github.com/hyperlane-xyz/hyperlane-monorepo/blob/main/solidity/coverage.sh | ||
tests-coverage :; ./coverage.sh | ||
|
||
# Deploy the {InvoiceModule} contracts deterministically to Base Sepolia | ||
# See Sablier V2 deployments on Base Sepolia: https://docs.sablier.com/contracts/v2/deployments#base-sepolia | ||
# Update the {PRIVATE_KEY} .env variable with the deployer private key | ||
deploy-deterministic-base-sepolia-invoice-module: | ||
forge script script/DeployInvoiceModule.s.sol:DeployInvoiceModule $(CREATE2SALT) \ | ||
0xFE7fc0Bbde84C239C0aB89111D617dC7cc58049f 0xb8c724df3eC8f2Bf8fA808dF2cB5dbab22f3E68c 0x85E094B259718Be1AF0D8CbBD41dd7409c2200aa \ | ||
--sig "run(string,address,address,address)" --rpc-url base_sepolia --private-key $(PRIVATE_KEY) --etherscan-api-key $(BASESCAN_API_KEY) | ||
--broadcast --verify | ||
|
||
# Deploy the {InvoiceModule} contracts deterministically to Base | ||
# See Sablier V2 deployments on Base Sepolia: https://docs.sablier.com/contracts/v2/deployments#base | ||
# Update the {PRIVATE_KEY} .env variable with the deployer private key | ||
deploy-deterministic-base-invoice-module: | ||
forge script script/DeployInvoiceModule.s.sol:DeployInvoiceModule $(CREATE2SALT) \ | ||
0x4CB16D4153123A74Bc724d161050959754f378D8 0xf4937657Ed8B3f3cB379Eed47b8818eE947BEb1e 0x85E094B259718Be1AF0D8CbBD41dd7409c2200aa \ | ||
--sig "run(string,address,address,address)" --rpc-url base_sepolia --private-key $(PRIVATE_KEY) --etherscan-api-key $(BASESCAN_API_KEY) | ||
--broadcast --verify |