"Unexpected number" when compiling contracts with solc-js v0.5.14+commit.1f1aaa4
#975
Labels
🪲 bug
Something isn't working
v0.5.14+commit.1f1aaa4
#975
When debugging, I've encountered a compiler version that when compiled with
solc-js
throw the ErrorUnexpected number
when importing at this line:sourcify/packages/lib-sourcify/src/lib/solidityCompiler.ts
Line 211 in a340728
Since I was suspecting this to be related to #964 I've also tested another "symlinked" compiler version in solc-bin:
v0.3.5+commit.5f97274
, and yes that also throws the same error.I have tested contracts will the following versions:
v0.6.0+commit.26b70077
v0.5.17+commit.d19bba13
v0.5.16+commit.9c3226ce
v0.5.15+commit.6a57276f
v0.5.14+commit.1f1aaa4
v0.5.13+commit.5b0b510c
v0.3.5+commit.5f97274
Example contracts
With
v0.5.14
:With
v0.3.5
:Remarks
I can observe two issues here:
solc-js
. I can see that the binary is not being downloaded underlinux-amd64/
. Is the PR Default SolcJs compiler #964 not working as intended? We must further investigate before a prod. releaseView in Huly HI-388
The text was updated successfully, but these errors were encountered: