-
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): simplify protocol and remove prover pool from core pr…
…otocol (#14541) Co-authored-by: adaki2004 <keszeydani@gmail.com> Co-authored-by: David <david@taiko.xyz> Co-authored-by: Jeffery Walsh <cyberhorsey@gmail.com> Co-authored-by: D <51912515+adaki2004@users.noreply.github.com>
- Loading branch information
1 parent
81d9ac0
commit 001b722
Showing
66 changed files
with
1,444 additions
and
3,756 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// SPDX-License-Identifier: MIT | ||
// _____ _ _ _ _ | ||
// |_ _|_ _(_) |_____ | | __ _| |__ ___ | ||
// | |/ _` | | / / _ \ | |__/ _` | '_ (_-< | ||
// |_|\__,_|_|_\_\___/ |____\__,_|_.__/__/ | ||
|
||
pragma solidity ^0.8.20; | ||
|
||
import { TaikoData } from "./TaikoData.sol"; | ||
|
||
/// @title IProver Interface | ||
/// @notice Defines the function that handle prover assignment. | ||
interface IProver { | ||
/// @notice Assigns a prover to a specific block or reverts if this prover | ||
/// is not available. | ||
/// @param blockId The ID of the proposed block. Note that the ID is only | ||
/// known when the block is proposed, therefore, it should not be used for | ||
/// verifying prover authorization. | ||
/// @param input The block's BlockMetadataInput data. | ||
/// @param assignment The assignment to evaluate | ||
function onBlockAssigned( | ||
uint64 blockId, | ||
TaikoData.BlockMetadataInput calldata input, | ||
TaikoData.ProverAssignment calldata assignment | ||
) | ||
external | ||
payable; | ||
} |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.