Open ofumbi opened 1 year ago
Deleting all deployments starts a fresh install and everything works fine, BUT it reinstalls everything afresh
I'm also having the same issue with the upgrade contract on zksync. But it works to use version 0.11.27.
Still having this issue with "@matterlabs/hardhat-zksync-deploy": "1.2.0"
and "hardhat-deploy": "^0.12.1"
I'm also having problems re-deploying contracts on zkSync with 0.12.2
version.
Here I am as well, having the same problem. Seems like hardhat-deploy has a bug. Any solutions ?
Describe the bug Initial deployment works fine and contracts are saved, Reruning deployments on zksync throws an error To Reproduce Steps to reproduce the behavior:
Error: ERROR processing /Users/steve/sites/sleepfinance-contracts/deploy/airdrop/Airdrop.js: Error: invalid rlp data (argument="data", value=Uint8Array(0x9c4d535b000000000000000000000000000000000000000000000000000000000000000001000691b530d33f3caba5fc77f92cecb793a2efa4018f4820a012393f75845100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000), code=INVALID_ARGUMENT, version=rlp/5.7.0) at Logger.makeError (/Users/steve/sites/sleepfinance-contracts/node_modules/@ethersproject/logger/src.ts/index.ts:269:28) at Logger.throwError (/Users/steve/sites/sleepfinance-contracts/node_modules/@ethersproject/logger/src.ts/index.ts:281:20) at Logger.throwArgumentError (/Users/steve/sites/sleepfinance-contracts/node_modules/@ethersproject/logger/src.ts/index.ts:285:21) at Object.decode (/Users/steve/sites/sleepfinance-contracts/node_modules/@ethersproject/rlp/src.ts/index.ts:151:16) at _parse (/Users/steve/sites/sleepfinance-contracts/node_modules/@ethersproject/transactions/src.ts/index.ts:412:29) at Object.parse (/Users/steve/sites/sleepfinance-contracts/node_modules/@ethersproject/transactions/src.ts/index.ts:482:37) at Object.parseTransaction (/Users/steve/sites/sleepfinance-contracts/node_modules/zksync-web3/build/src/utils.js:237:31) at fetchIfDifferent (/Users/steve/sites/sleepfinance-contracts/node_modules/hardhat-deploy/src/helpers.ts:969:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _deployOne (/Users/steve/sites/sleepfinance-contracts/node_modules/hardhat-deploy/src/helpers.ts:1013:24) at DeploymentsManager.executeDeployScripts (/Users/steve/sites/sleepfinance-contracts/node_modules/hardhat-deploy/src/DeploymentsManager.ts:1229:19) at processTicksAndRejections (node:internal/process/task_queues:95:5) at DeploymentsManager.runDeploy (/Users/steve/sites/sleepfinance-contracts/node_modules/hardhat-deploy/src/DeploymentsManager.ts:1059:5) at SimpleTaskDefinition.action (/Users/steve/sites/sleepfinance-contracts/node_modules/hardhat-deploy/src/index.ts:438:5) at Environment._runTaskDefinition (/Users/steve/sites/sleepfinance-contracts/node_modules/hardhat/src/internal/core/runtime-environment.ts:333:14) at Environment.run (/Users/steve/sites/sleepfinance-contracts/node_modules/hardhat/src/internal/core/runtime-environment.ts:166:14) at SimpleTaskDefinition.action (/Users/steve/sites/sleepfinance-contracts/node_modules/hardhat-deploy/src/index.ts:584:32) at Environment._runTaskDefinition (/Users/steve/sites/sleepfinance-contracts/node_modules/hardhat/src/internal/core/runtime-environment.ts:333:14) at Environment.run (/Users/steve/sites/sleepfinance-contracts/node_modules/hardhat/src/internal/core/runtime-environment.ts:166:14) at SimpleTaskDefinition.action (/Users/steve/sites/sleepfinance-contracts/node_modules/hardhat-deploy/src/index.ts:669:5) steve@Stephens-MacBook-Pro sleepfinance-contracts %
Hardhat config