Update 4_pyth_add_events_and_update_fee.js (#244)

This commit is contained in:
Ali Behjati 2022-07-29 18:27:10 +04:30 committed by GitHub
parent f0e88848eb
commit d5186f8d56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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 });
} }