wighawag / hardhat-deploy

hardhat deployment plugin
MIT License
1.19k stars 292 forks source link

trying to deploy and get maximum call stack error #523

Closed ethereumdegen closed 6 months ago

ethereumdegen commented 6 months ago

Describe the bug A clear and concise description of what the bug is.

RangeError: Maximum call stack size exceeded at Array.values () at recurseDependencies (/.../packages/contracts/node_modules/hardhat-deploy/src/DeploymentsManager.ts:1168:45) at recurseDependencies (/.../packages/contracts/node_modules/hardhat-deploy/src/DeploymentsManager.ts:1172:15) at recurseDependencies (/.../packages/contracts/node_modules/hardhat-deploy/src/DeploymentsManager.ts:1172:15) at recurseDependencies (/.../packages/contracts/node_modules/hardhat-deploy/src/ ...

To Reproduce Steps to reproduce the behavior:

run 'deploy' with many contracts

Expected behavior

no error

versions

Additional context

ethereumdegen commented 6 months ago

all other aspects of my repo work.. i can run tests, upgrades everything. a new deployment throws this error . not sure why contracts can compile for tests but not for deployment ...

ethereumdegen commented 6 months ago

had infinite dependency loop