ethereum-optimism / ethereum-optimism/developers

op-deployer fails with "failed to ensure cache directory: mkdir : no such file or directory" even when cache directory exists

Open
#825 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
100
Forks
59
PR merge metrics
No merged PRs in 30d

Description

I am encountering a persistent error when running op-deployer apply with the --workdir flag set to the absolute path of my .deployer directory. The error message is:

` Application failed: failed to download L1 artifacts: failed to download artifacts: failed to download artifacts: failed to download: failed to ensure cache directory: mkdir : no such file or directory`

Steps to reproduce:

1. Create the .deployer and .deployer/cache directories with correct permissions.

2. Place a valid [intent.toml](vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-sandbox/workbench/workbench.html) in .deployer.

3. Run the following command (with full absolute path):
`./op-deployer apply --workdir /home/sujalchoudhary/Documents/New_L2/op-deployer-0.3.0-rc.6-linux-amd64/.deployer --l1-rpc-url https://ethereum-sepolia-rpc.publicnode.com --private-key `

Expected:
The deployer should use the provided cache directory and proceed with artifact download.

Actual:
Fails with the above error, even though the cache directory exists and is writable.

Below is the content of intent.toml in the .deployer folder.

deploymentStrategy = "testnet"
configType = "standard-overrides"
l1ChainID = 11155111
fundDevAccounts = true
useInterop = false
l1ContractsLocator = "tag://op-contracts/v3.0.0-rc.2"
l2ContractsLocator = "tag://op-contracts/v3.0.0-rc.2"

[superchainRoles]
proxyAdminOwner = "0x5Bc9E9518D9b97F5Ede9D97cF06fFD96bF986f5A"
protocolVersionsOwner = "0x5Bc9E9518D9b97F5Ede9D97cF06fFD96bF986f5A"
guardian = "0x5Bc9E9518D9b97F5Ede9D97cF06fFD96bF986f5A"

[[chains]]
id = "0x000000000000000000000000000000000000000000000000000000000000a455"
baseFeeVaultRecipient = "0x5Bc9E9518D9b97F5Ede9D97cF06fFD96bF986f5A"
l1FeeVaultRecipient = "0x5Bc9E9518D9b97F5Ede9D97cF06fFD96bF986f5A"
sequencerFeeVaultRecipient = "0x5Bc9E9518D9b97F5Ede9D97cF06fFD96bF986f5A"
eip1559DenominatorCanyon = 250
eip1559Denominator = 50
eip1559Elasticity = 6
operatorFeeScalar = 0
operatorFeeConstant = 0

[chains.roles]
l1ProxyAdminOwner = "0x5Bc9E9518D9b97F5Ede9D97cF06fFD96bF986f5A"
l2ProxyAdminOwner = "0x5Bc9E9518D9b97F5Ede9D97cF06fFD96bF986f5A"
systemConfigOwner = "0x5Bc9E9518D9b97F5Ede9D97cF06fFD96bF986f5A"
unsafeBlockSigner = "0x5Bc9E9518D9b97F5Ede9D97cF06fFD96bF986f5A"
batcher = "0x5Bc9E9518D9b97F5Ede9D97cF06fFD96bF986f5A"
proposer = "0x5Bc9E9518D9b97F5Ede9D97cF06fFD96bF986f5A"
challenger = "0x5Bc9E9518D9b97F5Ede9D97cF06fFD96bF986f5A"

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.