Skip to content

Commit

Permalink
getEpochByL1BlockTime
Browse files Browse the repository at this point in the history
  • Loading branch information
apenzk committed Feb 10, 2025
1 parent 389c422 commit 3a0f409
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ contract MCR is Initializable, BaseSettlement, MCRStorage, IMCR {
// note: this is an intended race condition, but it is benign because of the leadingBlockTolerance
blockHeightEpochAssignments[
blockCommitment.height
] = getEpochByBlockTime();
] = getEpochByL1BlockTime();
}

// register the attester's commitment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface IMovementStaking {
address[] calldata custodians
) external;
function acceptGenesisCeremony() external;
function getEpochByBlockTime(address) external view returns (uint256);
function getEpochByL1BlockTime(address) external view returns (uint256);
function getCurrentEpoch(address) external view returns (uint256);
function getNextEpoch(address) external view returns (uint256);
function getNextEpochByBlockTime(address) external view returns (uint256);
Expand Down

0 comments on commit 3a0f409

Please sign in to comment.