When the potatoes are done, keep them aside.
If needed, add some mustard oil and then temper the oil with the dried red chili, bay leaves, green cardamoms, and cinnamon stick (break it from the middle).
Stir them until the aromatics are fragrant.
To this, add the ginger and garlic paste.
Stir and fry them until the raw smell is gone.
To this, add the onion and green puree.
Stir nicely and let them cook.
Keep the flame on medium and stir consistently until the raw smell is gone or it turns golden brown.
Now, add the turmeric powder, coriander powder, cumin powder, red chili powder, salt to taste, and sugar to taste.
Combine nicely and stir.
Fry the masala until the oil separates from it. Take a test taste.