Sometimes I keep getting errors about SPDX licenses in remix. Even though i have it right in my file.. If i then go to another tab it removes my entire solidity file with no possibility of getting it back :P. What am i doing wrong? And why does remix not compile my file even though i got an spdx license right in there?

May 5, 2021, 9:23 AM
You need to restart remix ide or system.
May 5, 2021, 9:24 AM
ive tried everything up to this point but this is an error that returns every time.
does this also happen if i start coding locally?
Because if this wont happen whilst using something like truffle ill just use that
May 5, 2021, 9:28 AM
No issue on truffle
You can run remixd along with remix though. And connect your file storage with remix
May 5, 2021, 9:31 AM
It might be due to: 1. http vs https; 2. restriction on http access by your anti-virus software or internet defender.
IMO, Solidity versions can roughly reflect their project starting time. If you start building an awesome project with 0.8.4 today, two years later, some guy may wonder why you chose 0.8.4 over 1.2.6.
Besides, most projects don't start from scratch. Forking can reduce adoption rates of later versions.
May 5, 2021, 1:24 PM
okay thanks ill check it out
ah awesome it worked
May 5, 2021, 2:56 PM

© 2024 Draquery.com All rights reserved.