-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(protocol): force assigned prover to be the block's proposer (#17575
) Co-authored-by: dantaik <[email protected]>
- Loading branch information
Showing
28 changed files
with
462 additions
and
818 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,21 +11,11 @@ import "./TaikoData.sol"; | |
/// L1 libraries. | ||
/// @custom:security-contact [email protected] | ||
abstract contract TaikoEvents { | ||
/// @dev Emitted when a block is proposed. | ||
// Warning: Any events defined here must also be defined in TaikoEvents.sol. | ||
/// @notice Emitted when a block is proposed. | ||
/// @param blockId The ID of the proposed block. | ||
/// @param assignedProver The block's assigned prover. | ||
/// @param livenessBond The bond in Taiko token from the assigned prover. | ||
/// @param meta The block metadata containing information about the proposed | ||
/// block. | ||
/// @param depositsProcessed Ether deposits processed. | ||
event BlockProposed( | ||
uint256 indexed blockId, | ||
address indexed assignedProver, | ||
uint96 livenessBond, | ||
TaikoData.BlockMetadata meta, | ||
TaikoData.EthDeposit[] depositsProcessed | ||
); | ||
|
||
/// @param meta The metadata of the proposed block. | ||
event BlockProposedV2(uint256 indexed blockId, TaikoData.BlockMetadataV2 meta); | ||
/// @dev Emitted when a block is verified. | ||
/// @param blockId The ID of the verified block. | ||
/// @param prover The prover whose transition is used for verifying the | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
194 changes: 0 additions & 194 deletions
194
packages/protocol/contracts/L1/hooks/AssignmentHook.sol
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.