diff --git a/packages/beacon-node/src/network/subnets/attnetsService.ts b/packages/beacon-node/src/network/subnets/attnetsService.ts index 7eabc2e4114c..ab24714e5da9 100644 --- a/packages/beacon-node/src/network/subnets/attnetsService.ts +++ b/packages/beacon-node/src/network/subnets/attnetsService.ts @@ -147,7 +147,7 @@ export class AttnetsService implements IAttnetsService { /** Call ONLY ONCE: Two epoch before the fork, re-subscribe all existing random subscriptions to the new fork */ subscribeSubnetsToNextFork(nextFork: ForkName): void { - this.logger.info("Suscribing to random attnets to next fork", {nextFork}); + this.logger.info("Subscribing to random attnets to next fork", {nextFork}); for (const subnet of this.subscriptionsRandom.getAll()) { this.gossip.subscribeTopic({type: gossipType, fork: nextFork, subnet}); } @@ -155,7 +155,7 @@ export class AttnetsService implements IAttnetsService { /** Call ONLY ONCE: Two epochs after the fork, un-subscribe all subnets from the old fork */ unsubscribeSubnetsFromPrevFork(prevFork: ForkName): void { - this.logger.info("Unsuscribing to random attnets from prev fork", {prevFork}); + this.logger.info("Unsubscribing to random attnets from prev fork", {prevFork}); for (let subnet = 0; subnet < ATTESTATION_SUBNET_COUNT; subnet++) { if (!this.opts.subscribeAllSubnets) { this.gossip.unsubscribeTopic({type: gossipType, fork: prevFork, subnet}); diff --git a/packages/beacon-node/src/network/subnets/dllAttnetsService.ts b/packages/beacon-node/src/network/subnets/dllAttnetsService.ts index 7236695cb11a..9de0bef68357 100644 --- a/packages/beacon-node/src/network/subnets/dllAttnetsService.ts +++ b/packages/beacon-node/src/network/subnets/dllAttnetsService.ts @@ -138,7 +138,7 @@ export class DLLAttnetsService implements IAttnetsService { * Call ONLY ONCE: Two epoch before the fork, re-subscribe all existing random subscriptions to the new fork **/ subscribeSubnetsToNextFork(nextFork: ForkName): void { - this.logger.info("Suscribing to long lived attnets to next fork", { + this.logger.info("Subscribing to long lived attnets to next fork", { nextFork, subnets: Array.from(this.longLivedSubscriptions).join(","), }); @@ -152,7 +152,7 @@ export class DLLAttnetsService implements IAttnetsService { * Call ONLY ONCE: Two epochs after the fork, un-subscribe all subnets from the old fork **/ unsubscribeSubnetsFromPrevFork(prevFork: ForkName): void { - this.logger.info("Unsuscribing to long lived attnets from prev fork", {prevFork}); + this.logger.info("Unsubscribing to long lived attnets from prev fork", {prevFork}); for (let subnet = 0; subnet < ATTESTATION_SUBNET_COUNT; subnet++) { if (!this.opts.subscribeAllSubnets) { this.gossip.unsubscribeTopic({type: gossipType, fork: prevFork, subnet}); diff --git a/packages/beacon-node/src/network/subnets/syncnetsService.ts b/packages/beacon-node/src/network/subnets/syncnetsService.ts index 147c4d0b5fb8..c61b1060899a 100644 --- a/packages/beacon-node/src/network/subnets/syncnetsService.ts +++ b/packages/beacon-node/src/network/subnets/syncnetsService.ts @@ -74,7 +74,7 @@ export class SyncnetsService implements SubnetsService { /** Call ONLY ONCE: Two epoch before the fork, re-subscribe all existing random subscriptions to the new fork */ subscribeSubnetsToNextFork(nextFork: ForkName): void { - this.logger.info("Suscribing to random attnets to next fork", {nextFork}); + this.logger.info("Subscribing to random attnets to next fork", {nextFork}); for (const subnet of this.subscriptionsCommittee.getAll()) { this.gossip.subscribeTopic({type: gossipType, fork: nextFork, subnet}); } @@ -82,7 +82,7 @@ export class SyncnetsService implements SubnetsService { /** Call ONLY ONCE: Two epochs after the fork, un-subscribe all subnets from the old fork */ unsubscribeSubnetsFromPrevFork(prevFork: ForkName): void { - this.logger.info("Unsuscribing to random attnets from prev fork", {prevFork}); + this.logger.info("Unsubscribing to random attnets from prev fork", {prevFork}); for (let subnet = 0; subnet < SYNC_COMMITTEE_SUBNET_COUNT; subnet++) { if (!this.opts?.subscribeAllSubnets) { this.gossip.unsubscribeTopic({type: gossipType, fork: prevFork, subnet});