pyth-crosschain/ethereum/migrations/prod-receiver/1_initial_migration.js

13 lines
352 B
JavaScript

const Migrations = artifacts.require("Migrations");
const tdr = require('truffle-deploy-registry');
module.exports = async function (deployer, network) {
await deployer.deploy(Migrations);
let migrationsInstance = await Migrations.deployed();
if (!tdr.isDryRunNetworkName(network)) {
await tdr.appendInstance(migrationsInstance);
}
};