Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Compile command fails with Solidity 0.6+ #1406

Closed
spalladino opened this issue Jan 21, 2020 · 7 comments
Closed

Compile command fails with Solidity 0.6+ #1406

spalladino opened this issue Jan 21, 2020 · 7 comments
Assignees
Labels
kind:bug topic:compiler Solidity compiler in CLI
Milestone

Comments

@spalladino
Copy link
Contributor

Compiling a project with solc 0.6.1:

$ ozdev compile
✖ Compiling contracts with solc 0.6.1 (commit.e6f7d5a4)
soljson.Pointer_stringify is not a function
@spalladino spalladino added kind:bug topic:compiler Solidity compiler in CLI labels Jan 21, 2020
@spalladino
Copy link
Contributor Author

I'm no longer being able to reproduce this one, either on 2.6.0, 2.7-rc.1, or release/2.7. @BrendanChou I see you upvoted: can you reproduce this issue?

@spalladino spalladino self-assigned this Jan 29, 2020
@BrendanChou
Copy link

I had a similar issue but it wasn't the same function. I just went back to Solidity 0.5. My impression was that the 2.6.0 release was not even usable with Solidity 0.6?

@spalladino
Copy link
Contributor Author

This was the main issue with Solidity 0.6 on 2.6.0, which is fixed in 2.7-rc.0.

Another issue is that Initializable.sol is not set up for 0.6, though we'll fix that in 2.7-rc.2 (to be released this week), which should set everything up for 2.7 to be compatible with Solidity 0.6.

I'll close this issue then, and see if it comes up again during testing of the 2.7-rc.2. Thanks!

@BrendanChou
Copy link

Thanks! Appreciate the work you all put into these libraries

@spalladino spalladino reopened this Feb 6, 2020
@spalladino
Copy link
Contributor Author

Reopening as @nventuro managed to reproduce it on OpenZeppelin/openzeppelin-contracts#1c72343465bb0a9f5e365061f9a182154a394a34

spalladino added a commit that referenced this issue Feb 6, 2020
Prevents "soljson.Pointer_stringify is not a function" error

Fixes #1406
@spalladino spalladino added this to the v2.7 milestone Feb 6, 2020
@frangio
Copy link
Contributor

frangio commented Feb 7, 2020

Was this closed again by accident?

@spalladino
Copy link
Contributor Author

Nope, because it was fixed by #1427, which just got merged into master

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind:bug topic:compiler Solidity compiler in CLI
Projects
None yet
Development

No branches or pull requests

3 participants