Wash and soak cowpeas overnight. Take cowpeas in a pressure cooker and cover with water. Pressure cook it for 3 whistle and simmer for 5 mins. Switch off the flame and let the steam go all by itself. Now cow peas are done.
Take all the ingredients given for grinding in a mixer and add some water to it and make into smooth paste. Set this aside till use.
Take pumpkin, green chilli and salt in a kadai. Cover with water and bring it to a boil. Cover the pan and let it simmer for 10 mins till the pumpkin is half cooked.
When the pumpkin is half cooked, add the cooked cowpeas and mix well. Simmer for 5 more mins.
Now add in the grinded coconut masala and mix well.
Let this cook for 10 mins till it gets thick.
Now make the seasoning. Heat oil in a small pan. Add all the seasoning ingredients once the oil is hot. Let this sizzle for few mins.