Skip to content

Lesson 4 : solcx.exceptions.ContractsNotFound: Input JSON does not contain any sources #66

Answered by 0x3N3jVhPUV
0x3N3jVhPUV asked this question in Q&A
Discussion options

You must be logged in to vote

@AlbertoSinigaglia, I figured out what was the problem.

I wrote :

"source": {"SimpleStorage.sol": {"content": Simple_Storage_file}},

Instead of :

"sources": {"SimpleStorage.sol": {"content": Simple_Storage_file}},

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@0x3N3jVhPUV
Comment options

@AlbertoSinigaglia
Comment options

@0x3N3jVhPUV
Comment options

@0x3N3jVhPUV
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by 0x3N3jVhPUV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants