Preheat your oven to 400°F / 200°C and line two baking pans with foil.
In a large bowl, toss the pumpkin crescents with canola oil, garam masala, 1 teaspoon (5 ml / 0.2 fl oz) of salt, and ½ teaspoon of black pepper.
Arrange in a single layer on the prepared pans and roast for 30 minutes, or until soft and caramelized.
While the pumpkin roasts, heat 2 tablespoons (30 ml / 1 fl oz) of coconut or canola oil in a large, lidded frying pan over medium heat.
Once hot, add the mustard seeds and wait for them to pop.
Immediately add the slit green chiles and sliced onion.
Sauté for 12 minutes, stirring occasionally, until the onion is soft and golden.
Stir in the crushed garlic and cook for another 2 minutes until fragrant.
Add the drained black-eyed peas and tomato wedges to the pan.
Cook for 3-4 minutes, allowing the tomatoes to soften and become jammy at the edges.
Stir in the turmeric, the remaining ½ teaspoon of salt, and ⅓ teaspoon of black pepper.
Pour in the can of coconut milk and bring to a gentle simmer.
Gently fold the roasted pumpkin pieces into the curry.
Cover the pan with a lid and let everything heat through for 5 minutes.
Taste and adjust seasoning if needed.
For the optional tarka, heat 2 tablespoons (30 ml / 1 fl oz) of oil in a small pan over medium-high heat. Carefully add the curry leaves—they will crackle and pop.
Fry for about 30 seconds until crisp and translucent.
Pour this aromatic oil and the leaves directly over the finished curry.
Serve hot with fresh naan, fluffy rice, and a side of cooling cucumber raita.
Don't overcrowd the pumpkin on the baking sheets.
Roasting in a single layer ensures the pieces caramelize beautifully instead of steaming.