Can I modify the returns
statement to include a bool [] memory
instead of just bool
?
Asked
Active
Viewed 33 times
1

Patrick Collins
- 5,621
- 3
- 26
- 64

Ibra
- 912
- 1
- 12
- 31
-
1Could you add your other question as a separate stack exchange ETH or stackoverflow question? – Patrick Collins Aug 17 '22 at 15:44
-
1I finally found the quickest way to find you hehehe; Buidling something cool rn :D ! – Ibra Aug 17 '22 at 16:47
-
stackoverflow and stack exchange are amazing since they are indexed by web crawlers, the more questions we get on forums the more likely people can solve problems with a simple web search! – Patrick Collins Aug 18 '22 at 11:50
1 Answers
1
You cannot.
The Chainlink node is looking for a specific return type, if you change the interface the nodes won't be sure that's the function they should be calling.
That being said, you can change what checkupkeep returns, just a chainlink keeper node wouldn't be able to call checkupkeeps.

Patrick Collins
- 5,621
- 3
- 26
- 64