Update 4_pyth_add_events_and_update_fee.js (#244)
This commit is contained in:
parent
f0e88848eb
commit
d5186f8d56
|
@ -11,6 +11,6 @@ const { upgradeProxy } = require("@openzeppelin/truffle-upgrades");
|
||||||
* the contract activity.
|
* the contract activity.
|
||||||
*/
|
*/
|
||||||
module.exports = async function (deployer) {
|
module.exports = async function (deployer) {
|
||||||
const instance = await PythUpgradable.deployed();
|
const proxy = await PythUpgradable.deployed();
|
||||||
await upgradeProxy(instance.address, PythUpgradable, { deployer });
|
await upgradeProxy(proxy.address, PythUpgradable, { deployer });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue