Skip to content

Commit

Permalink
rename executionStateRoots to executionBlockRoots which is what it is
Browse files Browse the repository at this point in the history
  • Loading branch information
willemolding committed Dec 13, 2023
1 parent 5c2ac0d commit f4caec3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/src/Spectre.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ contract Spectre {
mapping(uint256 => bytes32) public blockHeaderRoots;

/// Maps from a slot to the current finalized ethereum1 execution state root.
mapping(uint256 => bytes32) public executionStateRoots;
mapping(uint256 => bytes32) public executionPayloadRoots;

/// The highest slot that has been verified
uint256 public head = 0;
Expand Down Expand Up @@ -58,7 +58,7 @@ contract Spectre {
}

// update the contract state
executionStateRoots[input.finalizedSlot] = input.executionPayloadRoot;
executionPayloadRoots[input.finalizedSlot] = input.executionPayloadRoot;
blockHeaderRoots[input.finalizedSlot] = input.finalizedHeaderRoot;
head = input.finalizedSlot;
}
Expand Down

0 comments on commit f4caec3

Please sign in to comment.