Skip to content

Make Mint: I have already deployed the contract using make deploy and it's verified too but when I do make mint ARGS="--network sepolia" I get error no contract deployed. #2488

Answered by vabs10
vabs10 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @EngrPips you are not going to believe what solved it for me

In the DevOpsTools.sol file this code was merging the string.concat('/', vm.toString(chainId), "/") part and entry.path.contains(".json") code

if (
                entry.path.contains(string.concat('/', vm.toString(chainId), "/"))&& entry.path.contains(".json")
                    && !entry.path.contains("dry-run")
            )

I took entry.path.contains(".json") part on the next line and it worked

if (
                entry.path.contains(string.concat('/', vm.toString(chainId), "/")) 
                    && entry.path.contains(".json")
                    && !entry.path.contains("dry-run")
            )

Thanks for helping

Replies: 4 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@vabs10
Comment options

Comment options

You must be logged in to vote
6 replies
@vabs10
Comment options

@EngrPips
Comment options

@vabs10
Comment options

Answer selected by vabs10
@EngrPips
Comment options

@vabs10
Comment options

@EngrPips
Comment options

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