You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.
What it tries to do is to remove the suffix from the version, but it wrongly assumes that we're using solc.js. In my case, the version is 0.5.17+commit.d19bba13.Linux.g++ and it was sending that verbatim to etherscan.
Dropping .Linux.g++ solved the issue and the verification went through succesfully:
When oz verify sends the post request to etherscan, it sends the compiler version as well. In oz source code there's this line:
openzeppelin-sdk/packages/cli/src/models/Verifier.ts
Line 87 in 11352d7
What it tries to do is to remove the suffix from the version, but it wrongly assumes that we're using solc.js. In my case, the version is
0.5.17+commit.d19bba13.Linux.g++
and it was sending that verbatim to etherscan.Dropping
.Linux.g++
solved the issue and the verification went through succesfully:As a side note, oz verify shows up a false warning:
The verification went through despite the warning.
The text was updated successfully, but these errors were encountered: