You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cast run panicks when attempting to simulate / rerun a contract deployment that reverted.
Following command reproduces the error: cast run --quick --rpc-url https://rpc.ankr.com/eth_goerli 0x355df255305c37648e2d1b42fc9842fd3718615eaf23dcf125a2ae53f6cc6284
The given transaction is a reverted deployment of the following contract code:
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
// Uncomment this line to use console.log
// import "hardhat/console.sol";
contract Lock {
constructor() payable {
revert("Nope");
}
}
Attempting to rerun this transaction panicks with the following message:
The text was updated successfully, but these errors were encountered:
Component
Cast
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (ac19482 2023-05-03T00:04:41.398754000Z)
What command(s) is the bug in?
cast run
Operating System
macOS (Apple Silicon)
Describe the bug
Cast run panicks when attempting to simulate / rerun a contract deployment that reverted.
Following command reproduces the error:
cast run --quick --rpc-url https://rpc.ankr.com/eth_goerli 0x355df255305c37648e2d1b42fc9842fd3718615eaf23dcf125a2ae53f6cc6284
The given transaction is a reverted deployment of the following contract code:
Attempting to rerun this transaction panicks with the following message:
![image](https://user-images.githubusercontent.com/15629702/235894461-7866a844-8765-4569-9616-2e2ec01b9e7e.png)
The text was updated successfully, but these errors were encountered: