Pre-heat the oven to 180°C / 160°C fan assisted / gas mark 4 / 350°F and line and grease a 30 x 20 x 5cm (8 × 12 × 2 inch) baking tin with parchment paper.
Pour the milk into a small bowl or jug and stir in the apple cider vinegar. Set aside for 5 minutes.
Place peanuts in a food processor with 4 tablespoons of the brown sugar. Process the peanuts until finely ground.
Whisk together the ground peanuts, gluten-free all-purpose flour, baking powder, and salt in a large mixing bowl until well combined. Set aside.
In a separate large mixing bowl, mix together the peanut butter, olive oil, sugar, eggs and vanilla until smooth and creamy. It’s possible to mix by hand but you can use handheld electric beaters if you prefer.
Gradually pour in the vinegar milk (which will look slightly curdled) into the wet ingredients and continue mixing until the batter is smooth and well combined.
Make a well in the centre of the dry ingredients and pour in the wet ingredients, stirring until everything is well incorporated.
Pour the cake batter into the prepared baking tin and place in the pre-heated oven. Bake for 30-35 minutes, or until a toothpick inserted into the centre of the cakes comes out clean.
Remove from the oven and allow to cool in the tin for 10 minutes before transferring to a wire rack to cool completely before covering with the buttercream.