01 - Preheat oven to 350°F. Grease and flour two 8-inch round cake pans or line with parchment paper.
02 - Sift together flour, baking powder, and salt in a bowl. Set aside.
03 - Beat eggs and sugar with electric mixer until pale and thick, about 5 minutes. Mix in vanilla.
04 - Gently fold flour mixture into egg mixture until just combined. Mix milk and melted butter, then fold into batter until smooth.
05 - Divide batter evenly between prepared pans. Bake for 22-25 minutes until toothpick comes out clean. Cool in pans 10 minutes, then turn out onto racks to cool completely.
06 - Heat milk in saucepan until just simmering. Whisk egg yolks, sugar, cornstarch, and salt in separate bowl. Slowly pour hot milk into yolk mixture, whisking constantly.
07 - Return mixture to saucepan. Cook over medium heat, whisking constantly, until thick and bubbling, about 2-3 minutes. Remove from heat, whisk in butter and vanilla. Cover with plastic wrap touching surface and chill until cold.
08 - Place chopped chocolate and butter in bowl. Heat cream to simmer, then pour over chocolate. Let sit 2 minutes, then stir until smooth.
09 - Place one cake layer on serving plate. Spread cooled pastry cream evenly over cake. Top with second cake layer.
10 - Pour chocolate ganache over top, letting it drip down sides. Chill at least 1 hour before serving.