-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(contracts): apply linting fixes
- Loading branch information
1 parent
7f42ecf
commit 4a33cab
Showing
5 changed files
with
51 additions
and
74 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
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 |
---|---|---|
@@ -1,30 +1,27 @@ | ||
// // SPDX-License-Identifier: BUSL-1.1 | ||
// pragma solidity ^0.8.23; | ||
// SPDX-License-Identifier: BUSL-1.1 | ||
pragma solidity ^0.8.23; | ||
// /* solhint-disable no-console */ | ||
// /* solhint-disable max-line-length */ | ||
// /// NOTE: pragma allowlist-secret must be inline (same line as the pubkey hex string) to avoid false positive | ||
// /// flag "Hex High Entropy String" in CI run detect-secrets | ||
/// NOTE: pragma allowlist-secret must be inline (same line as the pubkey hex string) to avoid false positive | ||
/// flag "Hex High Entropy String" in CI run detect-secrets | ||
|
||
// import { Test } from "forge-std/Test.sol"; | ||
import { Test } from "forge-std/Test.sol"; | ||
|
||
// import { DeployCore } from "../../script/DeployCore.s.sol"; | ||
|
||
// contract DeployCoreTest is Test { | ||
// DeployCore private deployCore; | ||
|
||
// function setUp() public { | ||
// deployCore = new DeployCore(); | ||
// } | ||
|
||
// function testDeployDeployCore_run() public { | ||
// // Network shall not deploy the IPTokenStaking contract if IPTOKENSTAKING_DEPLOYER_KEY not set. | ||
// vm.chainId(1513); | ||
// // solhint-disable | ||
// vm.expectRevert('vm.envUint: environment variable "IPTOKENSTAKING_DEPLOYER_KEY" not found'); | ||
// deployCore.run(); | ||
|
||
// // Network shall deploy the IPTokenStaking contract. | ||
// vm.setEnv("IPTOKENSTAKING_DEPLOYER_KEY", "0x123456789abcdef"); | ||
// deployCore.run(); | ||
// } | ||
// } | ||
contract DeployCoreTest is Test { | ||
// DeployCore private deployCore; | ||
// function setUp() public { | ||
// deployCore = new DeployCore(); | ||
// } | ||
// function testDeployDeployCore_run() public { | ||
// // Network shall not deploy the IPTokenStaking contract if IPTOKENSTAKING_DEPLOYER_KEY not set. | ||
// vm.chainId(1513); | ||
// // solhint-disable | ||
// vm.expectRevert('vm.envUint: environment variable "IPTOKENSTAKING_DEPLOYER_KEY" not found'); | ||
// deployCore.run(); | ||
// // Network shall deploy the IPTokenStaking contract. | ||
// vm.setEnv("IPTOKENSTAKING_DEPLOYER_KEY", "0x123456789abcdef"); | ||
// deployCore.run(); | ||
// } | ||
} |
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