diff --git a/packages/config/src/forkConfig/index.ts b/packages/config/src/forkConfig/index.ts index 1869ca0ebfd2..b8a3be3ced5a 100644 --- a/packages/config/src/forkConfig/index.ts +++ b/packages/config/src/forkConfig/index.ts @@ -61,7 +61,7 @@ export function createForkConfig(config: ChainConfig): ForkConfig { epoch: config.ELECTRA_FORK_EPOCH, version: config.ELECTRA_FORK_VERSION, prevVersion: config.CAPELLA_FORK_VERSION, - prevForkName: ForkName.deneb, + prevForkName: ForkName.capella, }; /** Forks in order order of occurence, `phase0` first */ diff --git a/packages/params/src/forkName.ts b/packages/params/src/forkName.ts index 22e075206ff4..6306201fceee 100644 --- a/packages/params/src/forkName.ts +++ b/packages/params/src/forkName.ts @@ -46,5 +46,5 @@ export function isForkVerge(fork: ForkName): fork is ForkBlobs { export type ForkBlobs = Exclude; export function isForkBlobs(fork: ForkName): fork is ForkBlobs { - return isForkWithdrawals(fork) && fork !== ForkName.verge; + return isForkVerge(fork) && fork !== ForkName.verge; }