Start the instant pot and select the Saute mode until it displays HOT.
Add oil
When oil gets hot, add cumin seeds and all whole spices
Once the spices are fragrant, add onions
Fry for a few minutes, till they are slightly brown
Now add tomatoes and ginger garlic paste
Saute for a few minutes
Add all ground spices and salt
Rinse soaked chana dal and masoor dal. Add to the pot
Add water
Cancel saute mode.
Close the lid with the vent sealed. Switch the setting to cook mode and set the timer to 20 minutes for high-pressure cooking. Once the instant pot beeps, allow the pressure to release naturally, then open the lid.
Stir, and cook for a few more minutes if you like a thicker consistency
You can also add a bit more water if you like thinner consistency
Mash some dal with the back of a serving spoon for creamier consistency
Dish it out and top it with chopped fresh coriander, fried onions, or some coconut milk!