Truffle tutorials Error recipient address is not a contract address

0 votes

I am trying to execute the tutorial present here:

But when I run the truffle migrate command, I get this error

Error: Attempting to run transaction which calls a contract function, but recipient address

0x638a5f7b3047fcb90dd06afef527c0b96ee4df83 is not a contract address

How to solve this?

Aug 8, 2018 in Blockchain by digger
• 26,720 points

1 answer to this question.

0 votes

It appears like you have already migrated before and this error is caused because there also exists file as a result of previous migration.

To solve this, run your migrate command with reset option:

truffle migrate –reset
answered Aug 8, 2018 by slayer
• 29,310 points

Related Questions In Blockchain

0 votes
1 answer

Solidity mocha : address is not a contract error

Try the following: // Initialize contract variable with ...READ MORE

answered Oct 1, 2018 in Blockchain by digger
• 26,720 points
0 votes
1 answer

Ethereum "truffle server" gives error: TypeError: fsevents is not a constructor

Looks like you have files missing.  Try creating project with: truffle ...READ MORE

answered Nov 30, 2018 in Blockchain by Omkar
• 69,170 points
0 votes
2 answers

Why is network already up to date while trying to deploy a contract on truffle?

I guess you have ganache running already ...READ MORE

answered Apr 24, 2018 in Blockchain by Shashank
• 10,400 points
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
0 votes
1 answer
0 votes
1 answer

How to create a Genesis Block in a Private Network?

{     "nonce": "0x0000000000000042",     "difficulty": "0x000000100",     "alloc": {     },     "mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000",     "coinbase": "0x0000000000000000000000000000000000000000",     "timestamp": "0x00",     "parentHash": ...READ MORE

answered Jul 12, 2018 in Blockchain by digger
• 26,720 points
+1 vote
5 answers

How to solve "truffle: command not found" error in blockchain?

First try restarting the system and then ...READ MORE

answered Jul 16, 2018 in Blockchain by slayer
• 29,310 points