keep-network / local-setup

Allow to easily set up tBTC and Keep locally for development and test purposes.
MIT License
8 stars 16 forks source link

Problem reinstalling coverage-pools #109

Open tomaszslabon opened 3 years ago

tomaszslabon commented 3 years ago

The initial installation of local-setup is successful, but there are problems reinstalling coverage-pools (e.g. after making some changes in coverage-pool's smart contracts).

When running ./install-coverage-pools.sh, the following error appears:

Error: ERROR processing /Users/tslabon/projekt/local-setup/coverage-pools/deploy/00_resolve_keep_token.ts:
Error: deployed KeepToken contract not found
    at Object.<anonymous> (/Users/tslabon/projekt/local-setup/coverage-pools/deploy/00_resolve_keep_token.ts:14:11)
    at step (/Users/tslabon/projekt/local-setup/coverage-pools/deploy/00_resolve_keep_token.ts:33:23)
    at Object.next (/Users/tslabon/projekt/local-setup/coverage-pools/deploy/00_resolve_keep_token.ts:14:53)
    at fulfilled (/Users/tslabon/projekt/local-setup/coverage-pools/deploy/00_resolve_keep_token.ts:5:58)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)

The only workaround is to simply clean the whole local-setup repo and begin installation all over again which is a very lengthy process. It seems artefacts linked from other repositories cannot be found during smart contract deployment, but the artefacts seems to be present in coverage-pools's node_modules directory.