-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
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

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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels