Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion script/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@

import {CREATE3Factory} from "../src/CREATE3Factory.sol";

contract DeployScript is Script {

Check warning on line 8 in script/Deploy.s.sol

View workflow job for this annotation

GitHub Actions / Foundry project

Missing @notice tag in contract 'DeployScript'

Check warning on line 8 in script/Deploy.s.sol

View workflow job for this annotation

GitHub Actions / Foundry project

Missing @author tag in contract 'DeployScript'

Check warning on line 8 in script/Deploy.s.sol

View workflow job for this annotation

GitHub Actions / Foundry project

Missing @title tag in contract 'DeployScript'

Check warning on line 8 in script/Deploy.s.sol

View workflow job for this annotation

GitHub Actions / Foundry project

Missing @notice tag in contract 'DeployScript'

Check warning on line 8 in script/Deploy.s.sol

View workflow job for this annotation

GitHub Actions / Foundry project

Missing @author tag in contract 'DeployScript'

Check warning on line 8 in script/Deploy.s.sol

View workflow job for this annotation

GitHub Actions / Foundry project

Missing @title tag in contract 'DeployScript'
function run() public returns (CREATE3Factory factory) {

Check warning on line 9 in script/Deploy.s.sol

View workflow job for this annotation

GitHub Actions / Foundry project

Mismatch in @return names for function 'run'. Expected: [factory], Found: []

Check warning on line 9 in script/Deploy.s.sol

View workflow job for this annotation

GitHub Actions / Foundry project

Missing @return tag in function 'run'

Check warning on line 9 in script/Deploy.s.sol

View workflow job for this annotation

GitHub Actions / Foundry project

Missing @notice tag in function 'run'

Check warning on line 9 in script/Deploy.s.sol

View workflow job for this annotation

GitHub Actions / Foundry project

Mismatch in @return names for function 'run'. Expected: [factory], Found: []

Check warning on line 9 in script/Deploy.s.sol

View workflow job for this annotation

GitHub Actions / Foundry project

Missing @return tag in function 'run'

Check warning on line 9 in script/Deploy.s.sol

View workflow job for this annotation

GitHub Actions / Foundry project

Missing @notice tag in function 'run'
uint256 deployerPrivateKey = uint256(vm.envBytes32("PRIVATE_KEY"));
bytes32 salt = keccak256("intmax");
address deployer = vm.addr(deployerPrivateKey);
bytes32 salt = keccak256(abi.encodePacked(deployer, keccak256("intmax")));

vm.startBroadcast(deployerPrivateKey);

Expand Down
Loading