From 0cb96ed67e1ad981b58e897958605b917df95756 Mon Sep 17 00:00:00 2001 From: Francisco Giordano Date: Sun, 22 Apr 2018 14:15:16 -0300 Subject: [PATCH] remove truffle migrations stuff --- contracts/lifecycle/Migrations.sol | 21 --------------------- migrations/.gitkeep | 0 migrations/1_initial_migration.js | 5 ----- migrations/2_deploy_contracts.js | 9 --------- 4 files changed, 35 deletions(-) delete mode 100644 contracts/lifecycle/Migrations.sol create mode 100644 migrations/.gitkeep delete mode 100644 migrations/1_initial_migration.js delete mode 100644 migrations/2_deploy_contracts.js diff --git a/contracts/lifecycle/Migrations.sol b/contracts/lifecycle/Migrations.sol deleted file mode 100644 index b12a39b2db9..00000000000 --- a/contracts/lifecycle/Migrations.sol +++ /dev/null @@ -1,21 +0,0 @@ -pragma solidity ^0.4.21; - -import "../ownership/Ownable.sol"; - - -/** - * @title Migrations - * @dev This is a truffle contract, needed for truffle integration, not meant for use by Zeppelin users. - */ -contract Migrations is Ownable { - uint256 public lastCompletedMigration; - - function setCompleted(uint256 completed) onlyOwner public { - lastCompletedMigration = completed; - } - - function upgrade(address newAddress) onlyOwner public { - Migrations upgraded = Migrations(newAddress); - upgraded.setCompleted(lastCompletedMigration); - } -} diff --git a/migrations/.gitkeep b/migrations/.gitkeep new file mode 100644 index 00000000000..e69de29bb2d diff --git a/migrations/1_initial_migration.js b/migrations/1_initial_migration.js deleted file mode 100644 index fbe302cd424..00000000000 --- a/migrations/1_initial_migration.js +++ /dev/null @@ -1,5 +0,0 @@ -var Migrations = artifacts.require('Migrations'); - -module.exports = function (deployer) { - deployer.deploy(Migrations); -}; diff --git a/migrations/2_deploy_contracts.js b/migrations/2_deploy_contracts.js deleted file mode 100644 index a79df71b673..00000000000 --- a/migrations/2_deploy_contracts.js +++ /dev/null @@ -1,9 +0,0 @@ -// var Ownable = artifacts.require("Ownable"); - -// NOTE: Use this file to easily deploy the contracts you're writing. -// (but make sure to reset this file before committing -// with `git checkout HEAD -- migrations/2_deploy_contracts.js`) - -module.exports = function (deployer) { - // deployer.deploy(Ownable); -};