Skip to content

LEC 9 : Invalid type for argument in function call. Invalid implicit conversion #2147

Answered by RoboCrypter
ippy1997 asked this question in Q&A
Discussion options

You must be logged in to vote

@ippy1997 : Change parameter state in your checkUpkeep function from calldata to memory

function checkUpkeep(
        bytes memory /*checkData*/
    )
        public
        view
        override
        returns (
            bool upkeepNeeded,
            bytes memory /* performData*/
        )

Hopefully, It will fix the issue!

Replies: 1 comment 1 reply

Comment options

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

Answer selected by ippy1997
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