adapted ReplicationStorage for multiple peerIds