When I first load my Dapp with testrpc the functionality doesn't work until I use the command
truffle migrate --reset
Any ideas why?
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community
This is because truffle remembers previous migrations you made but you are on a new test network. You can see registered contract addresses by running
You can delete these informations by running
truffle networks --clean before