Closed rick-rheo closed 1 year ago
I'm away from my desk and can't test right now, but I think it's just missing the 0x
prefix.
I'm able to confirm the 0x
prefix:
» ganache --fork https://mainnet.infura.io/v3/\KEY --unlock 00000000219ab540356cbb839cbe05303d7705fa
ganache v7.5.0 (@ganache/cli: 0.6.0, @ganache/core: 0.6.0)
Invalid value in wallet.unlockedAccounts: 00000000219ab540356cbb839cbe05303d7705fa
» ganache --fork https://mainnet.infura.io/v3/\KEY --unlock 0x00000000219ab540356cbb839cbe05303d7705fa 1 ↵ hayek@rothbard
ganache v7.5.0 (@ganache/cli: 0.6.0, @ganache/core: 0.6.0)
Starting RPC server
...
RPC Listening on 127.0.0.1:8545
ganache --fork https://mainnet.infura.io/v3/<my api key> --unlock 00000000219ab540356cbb839cbe05303d7705fa
returns error
Invalid value in wallet.unlockedAccounts: 00000000219ab540356cbb839cbe05303d7705fa
ganache-cli 6.x worked
Is --unlock not supported any more?