We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I used Remix Ethereum. I activated Vyper plugin. Then I uploaded this code as Storage.vy:
Storage.vy
# @version ^0.3.0 number: uint256 @external def store(num: uint256): self.number = num @external def retrieve() -> uint256: return self.number
Then I ran this command in the terminal:
docker run -p 8000:8000 ghcr.io/apeworx/hosted-compiler:latest
I set the compiler to local compiler and the URL to http://localhost:8000. When I clicked the Compile button, I got this error:
http://localhost:8000
Compile
On the left side, I got "Cannot read properties of undefined (reading 'split')" error. On the right side, I saw that I got this error:
[ "contracts/Storage.vy\nStructureException:line 3:0 compiler version specified twice!" ]
If I removed # @version ^0.3.0 line, the compilation would be successful.
# @version ^0.3.0
When I compile with offline Vyper compiler, the pragma line doesn't give me troubles.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I used Remix Ethereum. I activated Vyper plugin. Then I uploaded this code as
Storage.vy
:Then I ran this command in the terminal:
I set the compiler to local compiler and the URL to
http://localhost:8000
. When I clicked theCompile
button, I got this error:On the left side, I got "Cannot read properties of undefined (reading 'split')" error. On the right side, I saw that I got this error:
[ "contracts/Storage.vy\nStructureException:line 3:0 compiler version specified twice!" ]
If I removed
# @version ^0.3.0
line, the compilation would be successful.When I compile with offline Vyper compiler, the pragma line doesn't give me troubles.
The text was updated successfully, but these errors were encountered: