To make the cake layers, sift together the flour, cornstarch, baking powder, baking soda, cocoa powder, and salt into a bowl and set aside. In the bowl of a stand mixer fitted with the paddle attachment, beat the butter on medium-high speed until light and creamy.