Closed forgetso closed 2 years ago
I see this is because I need to specify a salt when deploying the contract.
const contract = await contractFactory.deployed("default", deployerAddress, {
gasLimit: "400000000000",
value: "10000 UNIT",
salt: '0x1234'
});
Redspot Version 0.13.1-0 In the example deploy scripts you have the following comment:
I used the
deployed
method to try to deploy or get my contract if it is already deployed:Each time I run this script I get a different deployed address for the contract. I would expect to get the same address after the contract was deployed once.