current position:Home>Truffle compilation error type (c) Creationcode compilation failed

Truffle compilation error type (c) Creationcode compilation failed

2022-02-03 23:11:02 Q & A of Denglian community

Screenshot of the problem :.png

truffle-config.js To configure :.png

Code block :

.png




Take the answer 1:

Compiler version is too low , Need to use 0.6 Later versions , such as : 0.6.9

in addition truffle-config.js and .sol Version statement Need to match .






Other answers 1:

copyright notice
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.
https://en.netfreeman.com/2022/02/202202032311004192.html

Random recommended