menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Truffle Suite

Sweet tools for smart contracts

Channels
Team

Deploying 2 identical contracts and referencing them in the future upgrades

January 5, 2021 at 10:09am

Deploying 2 identical contracts and referencing them in the future upgrades

January 5, 2021 at 10:09am
https://forum.openzeppelin.com/t/deploying-2-identical-contracts-and-referencing-them-in-the-future-upgrades/5287/2
module.exports = async function (deployer) {
await deployProxy(FruitCoin, ["Apple Coin via Fruit", "ACVF"], { deployer, unsafeAllowCustomTypes : true, initializer: 'initialize' });
await deployProxy(FruitCoin, ["Orange Coin via Fruit", "OCVF"], { deployer, unsafeAllowCustomTypes : true, initializer: 'initialize' });
};
I'm just checking if that setup has any merit?
Found a workaround, I'm just satisfying my intellectual curiosity...
No messages yet