trufflesuite / truffle-migrate

On-chain migrations management
17 stars 17 forks source link

I got stuck on Saving migration to chain. Please help! #34

Open ngotiendatdinosys opened 5 years ago

ngotiendatdinosys commented 5 years ago
screen shot 2019-01-14 at 4 55 19 pm

***Truffle version: Truffle v5.0.1 (core: 5.0.1) Solidity - ^0.4.21 (solc-js) Node v8.12.0

bitfede commented 5 years ago

same issue

bitfede commented 5 years ago

nobody knows what this is??

bitfede commented 4 years ago

I realized that I got stuck only when running migrate alone. If I run migrate -f 2 (because my smart contract is labeled by truffle as 2) the smart contract gets migrated succesfully without problems.

okayakdeniz commented 3 years ago

@ngotiendatdinosys did you solve this problem?

jerricotandelacruz commented 2 years ago

I realized that I got stuck only when running migrate alone. If I run migrate -f 2 (because my smart contract is labeled by truffle as 2) the smart contract gets migrated successfully without problems.

This one works for me but it only migrated the specific contract but it helps me to narrow my problem, it turns out that the problem is the 1_initial_migration.sol after removing the modifier restricted it works well but it is not recommended to remove. That's why I'm still looking for a solution without removing it. Please let me know if there is someone there who knows the solution. Thanks.

"--f " it runs contracts from a specific migration. The number refers to the prefix of the migration file.

hiromaily commented 2 years ago

I faced the same problem