According to Israel at least, all the ones that the warrants were requested for are now dead. Perhaps new warrants will be issued, but simply taking on the mantle of Hamas leadership will not make someone retroactively culpable for the crimes of October 7th. Culpability at this level is personal, not collective. So even though anyone who becomes the next leader of Hamas will be, by this act itself, a terrible human seeking to advance some horrible ideals, that will not make them culpable for everything Hamas has already done.