In a deep baking tray, sprinkle in half of the sugar. Layer in the pumpkin pieces, then sprinkle the rest of the sugar on top. Set the tray in the fridge for 2-3 hours.
When the resting time is up, heat the oven to 350F and cover the tray with damp parchment paper.
Bake for 30 minutes, until the pumpkin is fork-tender. Then, remove the parchment paper and raise the oven temperature to 400F. Continue baking for another 20-30 minutes, until the pumpkin looks glossy.
Enjoy drizzled with the syrup from the baking tray, tahini, a sprinkle of cinnamon and some chopped walnuts.