-
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #183 from PaulRBerg/test/rename-utils-deployers
test: rename deploy optimized functions
- Loading branch information
Showing
3 changed files
with
20 additions
and
11 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
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,14 @@ | ||
// SPDX-License-Identifier: UNLICENSED | ||
pragma solidity >=0.8.19 <0.9.0; | ||
|
||
import { StdCheats } from "forge-std/src/StdCheats.sol"; | ||
|
||
import { IPRBProxyRegistry } from "../../src/interfaces/IPRBProxyRegistry.sol"; | ||
import { PRBProxyRegistry } from "../../src/PRBProxyRegistry.sol"; | ||
Check warning on line 7 in test/utils/DeployOptimized.sol GitHub Actions / lint
|
||
|
||
abstract contract DeployOptimized is StdCheats { | ||
/// @dev Deploys {PRBProxyRegistry} from an optimized source compiled `--via-ir`. | ||
function deployOptimizedRegistry() internal returns (IPRBProxyRegistry registry_) { | ||
registry_ = IPRBProxyRegistry(deployCode("out-optimized/PRBProxyRegistry.sol/PRBProxyRegistry.json")); | ||
} | ||
} |
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