Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

truffle migrate #32

Open
kmmr12 opened this issue Feb 4, 2020 · 3 comments
Open

truffle migrate #32

kmmr12 opened this issue Feb 4, 2020 · 3 comments

Comments

@kmmr12
Copy link

kmmr12 commented Feb 4, 2020

Hi I am working on election Dapp after downloading the update. After running the truffle migrate --reset and I got the message.

Error: Truffle is currently using solc 0.5.16, but one or more of your contracts specify "pragma solidity 0.4.20".
Please update your truffle config or pragma statement(s).
(See https://truffleframework.com/docs/truffle/reference/configuration#compiler-configuration for information on
configuring Truffle to use a specific solc compiler version.)

Compilation failed. See above.
at Object.compile (/usr/local/lib/node_modules/truffle/build/webpack:/packages/workflow-compile/legacy/index.js:80:1)
Truffle v5.1.11 (core: 5.1.11)
Node v12.14.1
Apparently the Truffle update is conflicting with the code. Any way to fix this? I tried changing the eversion on the election.sol file but was unable to move forward with the step after doing so.

@kudarukuni
Copy link

me too please shre solution if youfixed this

2 similar comments
@kudarukuni
Copy link

me too please shre solution if youfixed this

@kudarukuni
Copy link

me too please shre solution if youfixed this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants