A compiler is a computer program that translates a higher-level programming language into a lower-level language. For example: Solidity is compiled into EVM opcodes.
Questions tagged [compiler]
191 questions
1
vote
1 answer
Solidity Compiler and EVM relationship
When I compile the below code in 0.6.6 it doesn't compile (requires public) but in 0.7.3 it does compile.
If I make the below code compilable (adding public) in 0.6.6 I can successfully deploy on Rinkeby. If I compile the below code in 0.7.3 I can…
Picard78
- 139
- 2
- 10
1
vote
4 answers
Trying to compile running: 'node compile.js', but get error: "assert.js:350 throw err;" [Udemy 'Complete Developers Guide' Course]
This is the first contract with this Udemy course.
Trying to compile by running: "node compile.js" but get the following error:
iii@iii:~/inbox$ node compile.js
assert.js:350
throw err; ^
AssertionError [ERR_ASSERTION]: Invalid callback object…
Benzle
- 111
- 4
1
vote
1 answer
Why was the Solidity compiler removed in geth 1.6.0?
Why was the Solidity compiler removed in geth 1.6.0? What is the procedure to deploy a contract in geth 1.6.0?
Bumblebee
- 1,751
- 3
- 14
- 23
1
vote
1 answer
Can't run Fe language on M2 MacOS Ventura: bad CPU type in executable
I tried installing Fe lang on M2 MacOS Ventura through Homebrew and by downloading the executable but both installation options ended up with me seeing the following error.
zsh: bad CPU type in executable: fe
The following output is from…
ferit
- 507
- 5
- 25
1
vote
1 answer
Problem with Solidity compiler
recently I started doing solidity tutorial. Everything was going okay on remix but when i switched to VS Code I got compiler error
I changed it to:
but it doesnt solve the question why 0.8.8 compiler version doesn't work.
joaszek
- 11
- 1