I haven’t a boggle about Mac’s but I do know pcs / laptops and from what you described , it was no way your fault for what happened . I looked it up and the logic board is the mother board I presume your referring to ? For that to fail it would have to a physical issue , ie at component level . And from how you described what happened with the battery , it just so happened at the same time as you were doing the install .I’d be putting that down to the “warped battery” , not the install !
Is this what it looked like ?