diff --git a/package.json b/package.json index 3a50ff2..f2e1a62 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "build": "forge build", "build:optimized": "FOUNDRY_PROFILE=optimized forge build", "coverage": "forge coverage --report summary --report lcov --match-path 'test/unit/*'", + "coverage:integration": "TESTING=true FORKED_NETWORK=mainnet FORK_BLOCK=18920905 forge coverage --report summary --report lcov --match-path 'test/integration/*'", "deploy:arbitrum": "bash -c 'source .env && TESTING=false forge script Deploy -vvvvv --rpc-url $ARBITRUM_RPC --broadcast --chain arbitrum --account dev --verify --etherscan-api-key $ARBITRUM_ETHERSCAN_API_KEY'", "deploy:arbitrum-sepolia": "bash -c 'source .env && TESTING=false forge script Deploy -vvvvv --rpc-url $ARBITRUM_SEPOLIA_RPC --broadcast --chain arbitrum-sepolia --account dev --verify --verifier blockscout --verifier-url https://arbitrum-sepolia.blockscout.com/api/'", "deploy:base": "bash -c 'source .env && TESTING=false forge script Deploy -vvvvv --rpc-url $BASE_RPC --broadcast --chain base --account dev --verify --etherscan-api-key $BASE_ETHERSCAN_API_KEY'", diff --git a/script/Deploy.sol b/script/Deploy.sol index d7e1fb2..6a41925 100644 --- a/script/Deploy.sol +++ b/script/Deploy.sol @@ -2,7 +2,6 @@ pragma solidity 0.8.26; import {Grateful} from "contracts/Grateful.sol"; -import {TestToken} from "contracts/external/TestToken.sol"; import {AaveV3Vault} from "contracts/vaults/AaveV3Vault.sol"; import {Script} from "forge-std/Script.sol"; diff --git a/src/contracts/external/TestToken.sol b/src/contracts/external/TestToken.sol deleted file mode 100644 index 8034598..0000000 --- a/src/contracts/external/TestToken.sol +++ /dev/null @@ -1,12 +0,0 @@ -// SPDX-License-Identifier: MIT -pragma solidity 0.8.26; - -import {ERC20} from "solmate/tokens/ERC20.sol"; - -contract TestToken is ERC20 { - constructor(string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol, _decimals) {} - - function mint(address to, uint256 amount) external { - _mint(to, amount); - } -}