File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,10 @@ interface IAuthorizer {
2525 function grantRole (bytes32 , address ) external ;
2626}
2727
28+ interface IERC20Mintable is IERC20 {
29+ function mint (address , uint ) external ;
30+ }
31+
2832contract Harness is GPv2Settlement {
2933 constructor (GPv2Authentication authenticator_ , IVault vault ) GPv2Settlement (authenticator_, vault) {}
3034
@@ -224,7 +228,7 @@ abstract contract Helper is Test {
224228 function deployMintableErc20 (string memory name , string memory symbol ) internal returns (IERC20Mintable token ) {
225229 // need to use like this because OZ requires ^0.7 and tests are on ^0.8
226230 bytes memory initCode =
227- abi.encodePacked (vm.getCode ("test/e2e/ERC20Mintable.sol: ERC20Mintable " ), abi.encode (name, symbol));
231+ abi.encodePacked (vm.getCode ("ERC20Mintable " ), abi.encode (name, symbol));
228232 token = IERC20Mintable (_create (initCode, 0 ));
229233 }
230234}
Original file line number Diff line number Diff line change 1+ ../e2e/ERC20Mintable.sol
You can’t perform that action at this time.
0 commit comments