Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/contracts/block-hash-pusher/interfaces/IBuffer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface IBuffer {
/// @notice Emitted when the buffer is pushed to.
/// @param firstBlockNumber The block number of the first block in the batch.
/// @param lastBlockNumber The block number of the last block in the batch.
event BlockHashesPushed(uint256 firstBlockNumber, uint256 lastBlockNumber);
event BlockHashesPushed(uint256 indexed firstBlockNumber, uint256 indexed lastBlockNumber);

/// @notice Thrown when the block hashes array is empty.
error EmptyBlockHashes();
Expand Down
2 changes: 1 addition & 1 deletion src/contracts/block-hash-pusher/interfaces/IPusher.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface IPusher {
/// @notice Emitted when block hashes are pushed to the buffer.
/// @param firstBlockNumber The block number of the first block in the batch.
/// @param lastBlockNumber The block number of the last block in the batch.
event BlockHashesPushed(uint256 firstBlockNumber, uint256 lastBlockNumber);
event BlockHashesPushed(uint256 indexed firstBlockNumber, uint256 indexed lastBlockNumber);

/// @notice Thrown when incorrect msg.value is provided
error IncorrectMsgValue(uint256 expected, uint256 provided);
Expand Down