Skip to content

Commit

Permalink
chore: simplify contract
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-aranha-cw committed Nov 14, 2024
1 parent 1c59749 commit 3dbc0d0
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions e2e/contracts/TestContractBlockTimestamp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,4 @@ contract TestContractBlockTimestamp {
emit TimestampRecorded(timestamp, block.number);
return timestamp;
}

/// @dev Gets the current block timestamp
/// @return The current block.timestamp
function getCurrentTimestamp() public view returns (uint256) {
return block.timestamp;
}

/// @dev Gets all recorded timestamps
/// @return Array of TimeRecord structs
function getRecords() public view returns (TimeRecord[] memory) {
return records;
}
}

0 comments on commit 3dbc0d0

Please sign in to comment.