To make the frosting: In a heatproof bowl, add the chocolate chips and heavy whipping cream.
Using a double boiler, melt the chocolate completely while stirring in the cream. Or alternatively, microwave for 30 second intervals, stirring between each one to prevent burning. Stir completely to combine the chocolate and cream.
Cover the bowl with plastic wrap and transfer to the fridge. Refrigerate for at least 2 hours or overnight.
Preheat the oven to 350°F. Line a 6-inch cake pan with parchment paper.
To make the batter: In a large bowl, add the cane sugar, canola oil, heavy whipping cream, sourdough discard, and egg. Whisk to combine the wet ingredients.
Add in the cake flour, all purpose flour, cocoa powder, baking powder, sea salt, and vanilla bean in that order. Stir together to combine into a smooth batter.
Transfer the batter to the prepared baking pan.
Bake for 25 to 30 minutes or until a toothpick inserted in the center comes out clean. Allow to cool completely in the baking pan.
Remove the frosting from the fridge and whisk (either using a hand whisk, hand mixer, or stand mixer) until it’s night and fluffy.
Spread the frosting on top of the cake. You can just do this with a spatula and it can look rustic!
Top with fresh raspberries.
Serve immediately or store in the fridge because of the chocolate ganache frosting until ready to serve. Store extra cake in an airtight container in the fridge for up to 3 days.