I have a Macbook pro 15 inch late 2013 been using it with no problems for years, but lately it started rebooting after it goes into sleep mode. I followed a guide and tried resetting SMC/PRAM, turning off "put hard disk to sleep", re-seating the battery, reinstalling MacOS, and turning off hibernate mode with the terminal. It was still doing it after all that so i finally decided to replace the logic board. It came in today and i installed it and it seemed fine for an hour or two then it just restarted again after it went to sleep ..... I am not sure what to do next. The only other thing i can think of is the storage drive or an issue with Catalina possibly... Anyone else know about this issue and what to try next?
edit: i didnt do all those at once i tried each thing individually to see exactly what might be the cause of the problem