Skip to content

Commit

Permalink
few corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech committed Sep 8, 2023
1 parent 527ac41 commit eada6b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/config/src/forkConfig/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion packages/params/src/forkName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ export function isForkVerge(fork: ForkName): fork is ForkBlobs {

export type ForkBlobs = Exclude<ForkWithdrawals, ForkName.capella>;
export function isForkBlobs(fork: ForkName): fork is ForkBlobs {
return isForkWithdrawals(fork) && fork !== ForkName.verge;
return isForkVerge(fork) && fork !== ForkName.verge;
}

0 comments on commit eada6b3

Please sign in to comment.