Open NaeemulHannan opened 7 months ago
You can try this !!
Add a solidity line on top of contract
// SPDX-License-Identifier: MIT
Yes @Neet-savaliya shared the solution above.
Paste this code on top of your solidity contract // SPDX-License-Identifier: MIT
OR Paste this code // SPDX-License-Identifier: UNLICENSED
Paste this code on top of your solidity contract AND DEFINE THE PRAGMA SOLIDITY VERSION // SPDX-License-Identifier: MIT
Lesson
Lesson 2
Could you please leave a link to the timestamp in the video where this error occurs? (You can right click a video and "copy video URL at current time")
https://www.youtube.com/watch?v=gyMwXuJrbJQ
Operating System
Windows
Describe the bug
As soon as i add the "SimpleStorage.sol" file, I get an error that highlights "SimpleStorage.sol" in red and says SPDX license identifier not provided in source file. I dont understand this issue