Skip to content

Commit

Permalink
Allow cheatcodes on DeploySuperchain.s.sol (#11802)
Browse files Browse the repository at this point in the history
We need to add these calls otherwise calling `DeploySuperchain.s.sol` as a script with input/output files fails.
  • Loading branch information
mslipper authored Sep 9, 2024
1 parent c27aead commit e0f8589
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/contracts-bedrock/scripts/DeploySuperchain.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,8 @@ contract DeploySuperchain is Script {
(dsi_, dso_) = getIOContracts();
vm.etch(address(dsi_), type(DeploySuperchainInput).runtimeCode);
vm.etch(address(dso_), type(DeploySuperchainOutput).runtimeCode);
vm.allowCheatcodes(address(dsi_));
vm.allowCheatcodes(address(dso_));
}

function getIOContracts() public view returns (DeploySuperchainInput dsi_, DeploySuperchainOutput dso_) {
Expand Down

0 comments on commit e0f8589

Please sign in to comment.