Closed anoff closed 6 years ago
@anoff the contracts are still referenced in the migrations
folder
Not even sure what those scripts even do but removed the dead ref :)
Not even sure what those scripts even do [...]
they are just some ordered scripts e.g.
// migrations/1_hi_im.js
module.exports = function(deployer) {
console.log('Hi i`m')
}
// migrations/2_axel.js
module.exports = function(deployer) {
console.log('axel')
}
./node_modules/.bin/truffle migrate
Running migration: 1_hi_im.js
Hi i`m
Saving artifacts...
Running migration: 2_axel.js
axel
Saving artifacts...
and TIL migrate
wont run if there are not at least two migration files. Interesting. Will have a look into what truffle does exactly
Also turns out you need the Migration.sol
for things to work.. I should really try to understand what things do before I delete them lol
Yessir @anoff! The migrations stuff helps automate things like smart contract lifecycle.
Well...cleanup 🚿