-
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.
refactor(protocol): optimize core protocol and bridge implementation (#…
…14310) Co-authored-by: Daniel Wang <99078276+dantaik@users.noreply.github.com> Co-authored-by: dantaik <dantaik@users.noreply.github.com> Co-authored-by: dave | d1onys1us <13951458+d1onys1us@users.noreply.github.com> Co-authored-by: adaki2004 <adaki2004@users.noreply.github.com> Co-authored-by: jeff <113397187+cyberhorsey@users.noreply.github.com> Co-authored-by: Francisco Ramos <jscriptcoder@gmail.com> Co-authored-by: David <david@taiko.xyz> Co-authored-by: Kenk <kenghin_lim@hotmail.com> Co-authored-by: mfinestone <36642873+mfinestone@users.noreply.github.com> Co-authored-by: hideonbug <92258181+whohideonbug@users.noreply.github.com> Co-authored-by: megumii <98658943+Megumiiiiii@users.noreply.github.com> Co-authored-by: Tomaž <venooxpersonal@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Daniel Wang <dong77@gmail.com> Co-authored-by: Jeffery Walsh <cyberhorsey@gmail.com> Co-authored-by: cyberhorsey <cyberhorsey@users.noreply.github.com> Co-authored-by: Brecht Devos <Brechtp.Devos@gmail.com> Co-authored-by: d1onys1us <d1onys1us@users.noreply.github.com> Co-authored-by: Roger <50648015+RogerLamTd@users.noreply.github.com> Co-authored-by: Korbinian <KorbinianK@users.noreply.github.com>
- Loading branch information
1 parent
547cd1c
commit 437763a
Showing
121 changed files
with
12,832 additions
and
7,469 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.