actually, what overwrite false does, is avoid deploying your contract if is already deployed, even when is changed. What you needed was to “wait” for both contracts to be deployed in your migration in order to have the correct address. just add await before deployer.deploy(…)
ericnordelo
21
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Ganache problems not completely resetting contracts ... But they were not caused by ganache | 5 | 5327 | September 28, 2019 | |
| Connecting to Public Test Networks with Truffle | 6 | 28993 | November 26, 2021 | |
| Ganache linking truffle projects | 0 | 410 | May 1, 2021 | |
| Trouble migrating from truffle to openzeppelin's test environment. Doesn't seem to be connecting to ganache | 8 | 982 | November 16, 2021 | |
| deployProxy using Ganache GUI only deploys proxy | 3 | 1356 | November 2, 2020 |