Skip to content

L- 9 ParserError: Expected pragma, import directive or contract/interface/ #2182

Answered by othaime-en
ashrth asked this question in Q&A
Discussion options

You must be logged in to vote

What's this extra } enclosing in this section

....
    }
        
    } // I mean this curly brace.

    function performUpkeep(bytes calldata /*peformData */) external {
...

Try removing it. It might be causing the error.

Also, what is on line 174? give me a snippet. I can't count all the way to line 174

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@krakxn
Comment options

@ashrth
Comment options

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