Skip to content

Commit

Permalink
rebase fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech committed Aug 1, 2023
1 parent 83799df commit ca236e9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/beacon-node/test/spec/presets/transition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function getTransitionConfig(fork: ForkName, forkEpoch: number): Partial<ChainCo
case ForkName.capella:
return {ALTAIR_FORK_EPOCH: 0, BELLATRIX_FORK_EPOCH: 0, CAPELLA_FORK_EPOCH: forkEpoch};
case ForkName.deneb:
return {ALTAIR_FORK_EPOCH: 0, BELLATRIX_FORK_EPOCH: 0, CAPELLA_FORK_EPOCH: 0, EIP4844_FORK_EPOCH: forkEpoch};
return {ALTAIR_FORK_EPOCH: 0, BELLATRIX_FORK_EPOCH: 0, CAPELLA_FORK_EPOCH: 0, DENEB_FORK_EPOCH: forkEpoch};
case ForkName.verge:
return {
ALTAIR_FORK_EPOCH: 0,
Expand Down
2 changes: 1 addition & 1 deletion packages/beacon-node/test/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function getConfig(fork: ForkName, forkEpoch = 0): ChainForkConfig {
ALTAIR_FORK_EPOCH: 0,
BELLATRIX_FORK_EPOCH: 0,
CAPELLA_FORK_EPOCH: 0,
EIP4844_FORK_EPOCH: 0,
DENEB_FORK_EPOCH: 0,
VERGE_FORK_EPOCH: forkEpoch,
});
}
Expand Down
4 changes: 2 additions & 2 deletions packages/config/src/forkConfig/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ export function createForkConfig(config: ChainConfig): ForkConfig {
prevVersion: config.CAPELLA_FORK_VERSION,
prevForkName: ForkName.capella,
};
const verge: IForkInfo = {
const verge: ForkInfo = {
name: ForkName.verge,
seq: ForkSeq.verge,
epoch: config.VERGE_FORK_EPOCH,
version: config.VERGE_FORK_VERSION,
prevVersion: config.EIP4844_FORK_VERSION,
prevVersion: config.DENEB_FORK_VERSION,
prevForkName: ForkName.deneb,
};

Expand Down
2 changes: 1 addition & 1 deletion packages/state-transition/src/slot/upgradeStateToVerge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function upgradeStateToVerge(stateDeneb: CachedBeaconStateDeneb): CachedB

stateVerge.fork = ssz.phase0.Fork.toViewDU({
previousVersion: stateDeneb.fork.currentVersion,
currentVersion: config.EIP4844_FORK_VERSION,
currentVersion: config.DENEB_FORK_VERSION,
epoch: stateDeneb.epochCtx.epoch,
});

Expand Down
1 change: 1 addition & 0 deletions packages/types/src/allForks/sszTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ export const allForksExecution = {
ExecutionPayloadHeader: verge.ExecutionPayloadHeader,
BuilderBid: deneb.BuilderBid,
SignedBuilderBid: deneb.SignedBuilderBid,
SSEPayloadAttributes: deneb.SSEPayloadAttributes,
},
};

Expand Down

0 comments on commit ca236e9

Please sign in to comment.