Skip to content

Issue Verifying and publishing contract source code.... #3582

Answered by KMean
Tarreef asked this question in Q&A
Discussion options

You must be logged in to vote

Yes i tried it @KMean. Although i don't use remix, but i still tried it and got the same response. i use Alchemy. I tried changing the compiler version to 0.8.26 with and without optimisation, both ways failed... By the way i presumed the ^ was supposed to tell solidity to compile any version >= to the one given. so shouldn't the code be able to verify with the version 0.8.19?. Anyway maybe i should try deploying it on remix like you did and see

Oh I see... so I guess you're in forge and using Alchemy as RPC URL provider??

when you run forge build is telling you what compiler has been used

forge build
[⠊] Compiling...
[⠔] Compiling 1 files with Solc 0.8.24
[⠒] Solc 0.8.24 finished in 40…

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
7 replies
@chainflash
Comment options

@Tarreef
Comment options

@Tarreef
Comment options

@EngrPips
Comment options

@KMean
Comment options

Comment options

You must be logged in to vote
5 replies
@Tarreef
Comment options

@Tarreef
Comment options

@EngrPips
Comment options

@KMean
Comment options

Answer selected by Tarreef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants