【发布时间】:2022-08-19 19:55:22
【问题描述】:
使用确定性部署方法部署到自定义网络时出错。自定义网络是基于 evm 的网络。通过在 .env 中添加 PK 和 NODE_URL,代码有望在自定义网络中部署所有合约,但我面临以下错误。
我正在使用安全帽在 .env 中使用以下参数部署合同 https://github.com/gnosis/safe-contracts。
# Used for custom network
NODE_URL=\"https://public-node-api.klaytnapi.com/v1/baobab\"
PK=\"08bb64b0bb5d4baa180920c93e9820a6e10669e0b7576b8e88baf2959447d46a\"
ETHERSCAN_API_KEY=\"\"
# Use the Safe singleton factory for singleton deployment. This is required if EIP-155 is enforce on a chain.
CUSTOM_DETERMINISTIC_DEPLOYMENT=\"false\"
当我yarn deploy-all custom 下面是具体错误
deploying create2 deployer contract (at 0x4e59b44847b379578588920ca78fbf26c0b4956c) using deterministic deployment (https://github.com/Arachnid/deterministic-deployment-proxy)An unexpected error occurred:
标签: blockchain ethereum hardhat evm gnosis-safe