Skip to content

Commit 4143f86

Browse files
fix: test fixes
1 parent 418b2d1 commit 4143f86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/contracts-bedrock/scripts/checks/opcm-upgrade-checks/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func main() {
3636
// Process.
3737
if _, err := common.ProcessFilesGlob(
3838
[]string{"forge-artifacts/**/*.json"},
39-
[]string{"forge-artifacts/OPContractsManager.sol/*.json", "forge-artifacts/OPContractsManagerV2.sol/*.json"},
39+
[]string{"forge-artifacts/OPContractsManager.sol/*.json", "forge-artifacts/OPContractsManagerV2.sol/*.json", "forge-artifacts/opcm/OPContractsManagerV2.sol/*.json"},
4040
processFile,
4141
); err != nil {
4242
fmt.Printf("error: %v\n", err)

packages/contracts-bedrock/test/L1/OPContractsManager.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2764,7 +2764,7 @@ contract OPContractsManager_Deploy_Test is DeployOPChain_TestBase, DisputeGames
27642764
// Don't check for coverage or lite profile since they mess with gas usage.
27652765
VmSafe.Gas memory gas = vm.lastCallGas();
27662766
if (
2767-
!isDevFeatureEnabled(DevFeatures.OPCM_V2) && !LibString.eq(Config.foundryProfile(), "lite")
2767+
isDevFeatureEnabled(DevFeatures.OPCM_V2) && !LibString.eq(Config.foundryProfile(), "lite")
27682768
&& !vm.isContext(VmSafe.ForgeContext.Coverage)
27692769
) {
27702770
assertLt(gas.gasTotalUsed, 12000000, "Deploy gas usage exceeds 12m gas");

0 commit comments

Comments
 (0)