Skip to content

The software hangs indefinitely without any information about what's happening #11

@Magicking

Description

@Magicking

Description of the issue

When trying to submit a proposal through the OZ Foundry upgrade plugin, forge hangs indefinitely trying to deploy a contract, after looking over what was being executed it seems, that it hangs with the defender-deploy-client-cli as shown in the screenshot below
image

Code used for upgradeProposal

// solhint-disable-next-line no-console
contract Upgrade0000 is Script {
    function run() public {
        Options memory opts;
        // Set a Random salt
        opts.defender.salt = bytes32(uint256(0x12345678)); // abritrary salt
        ProposeUpgradeResponse memory response = Defender.proposeUpgrade(
            0xXXXX, "RegistryAccess.sol", opts
        );
        console.log("Proposal id", response.proposalId);
        console.log("Url", response.url);
    }
}

Setup

-> foundry.toml updated according to upgrades requirement
-> .env updated with Defender Key, secret and network ("sepolia")

Command run

forge clean && forge script Upgrade0000 --rpc-url https://ethereum-sepolia.publicnode.com -vvv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions