diff --git a/ethereum/migrations/prod/4_pyth_add_events_and_update_fee.js b/ethereum/migrations/prod/4_pyth_add_events_and_update_fee.js index dff94947..cc873030 100644 --- a/ethereum/migrations/prod/4_pyth_add_events_and_update_fee.js +++ b/ethereum/migrations/prod/4_pyth_add_events_and_update_fee.js @@ -11,6 +11,6 @@ const { upgradeProxy } = require("@openzeppelin/truffle-upgrades"); * the contract activity. */ module.exports = async function (deployer) { - const instance = await PythUpgradable.deployed(); - await upgradeProxy(instance.address, PythUpgradable, { deployer }); + const proxy = await PythUpgradable.deployed(); + await upgradeProxy(proxy.address, PythUpgradable, { deployer }); }