Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't deploy contracts #7770

Closed
1 of 2 tasks
mits87 opened this issue Apr 24, 2024 · 1 comment
Closed
1 of 2 tasks

Can't deploy contracts #7770

mits87 opened this issue Apr 24, 2024 · 1 comment
Labels
T-bug Type: bug

Comments

@mits87
Copy link

mits87 commented Apr 24, 2024

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

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

// 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!";
}

Whenever I execute command:

forge script script/Deploy-Test.s.sol:DeployTest \
	--rpc-url https://white-solitary-night.arbitrum-mainnet.quiknode.pro/API_KEY \
	--broadcast \
	--legacy \
	--with-gas-price 10000000 \
	-vvvv 

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?

image
@mits87 mits87 added the T-bug Type: bug label Apr 24, 2024
@klkvr
Copy link
Member

klkvr commented Apr 26, 2024

Fixed by #7772

@klkvr klkvr closed this as completed Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: bug
Projects
None yet
Development

No branches or pull requests

2 participants