You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
322 B
10 lines
322 B
const { upgradeProxy } = require('@openzeppelin/truffle-upgrades');
|
|
|
|
const KarmaV2 = artifacts.require('KarmaV2');
|
|
const KarmaV3 = artifacts.require('KarmaV3');
|
|
|
|
module.exports = async function (deployer) {
|
|
const existing = await KarmaV2.deployed();
|
|
await upgradeProxy(existing.address, KarmaV3, { deployer });
|
|
};
|