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
I have a small problem with contract deployments.
Basically I have extremely basic contract:
script/Deploy-Test.s.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
import {Script} from "forge-std/Script.sol";
import {Test} from "../src/protocol/Test.sol";
contract DeployTest is Script {
function run() external {
uint256 privateKey = 0x....;
vm.startBroadcast(privateKey);
Test test = new Test();
vm.stopBroadcast();
}
}
src/protocol/Test.sol
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity 0.8.19;
contract Test {
string public greet = "Hello World!";
}
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (e0ea59c 2024-04-24T00:17:16.344194000Z)
What command(s) is the bug in?
forge script
Operating System
macOS (Intel)
Describe the bug
Hi!
I have a small problem with contract deployments.
Basically I have extremely basic contract:
script/Deploy-Test.s.sol
src/protocol/Test.sol
Whenever I execute command:
then my deployment stuck on
Waiting for receipts
step (check screen).I waited few hours but nothing changed.
Any ideas how can I deploy my contracts?
The text was updated successfully, but these errors were encountered: