Skip to content

Commit

Permalink
chore(protocol): Contestable rollup additions (design docs, documenta…
Browse files Browse the repository at this point in the history
…tion, etc.) (#14810)

Co-authored-by: Daniel Wang <[email protected]>
  • Loading branch information
adaki2004 and dantaik authored Oct 3, 2023
1 parent 781464f commit 6a6cc8b
Show file tree
Hide file tree
Showing 19 changed files with 5,948 additions and 247 deletions.
7 changes: 0 additions & 7 deletions packages/protocol/contracts/L1/TaikoData.sol
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,6 @@ library TaikoData {
bytes32[7] __reserved;
}

/// @dev Struct representing information about a transaction list.
/// 1 slot used.
struct TxListInfo {
uint64 validSince;
uint24 size;
}

/// @dev Struct representing an Ethereum deposit.
/// 1 slot used.
struct EthDeposit {
Expand Down
3 changes: 2 additions & 1 deletion packages/protocol/contracts/L1/TaikoEvents.sol
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ abstract contract TaikoEvents {
/// @param prover The prover whose transition is used for verifing the
/// block.
/// @param blockHash The hash of the verified block.
/// @param signalRoot The latest value of the signal service storage.
event BlockVerified(
uint256 indexed blockId,
address indexed assignedProver,
Expand Down Expand Up @@ -80,7 +81,7 @@ abstract contract TaikoEvents {
/// @dev Emitted when a user withdrawed Taiko token from this contract.
event TokenWithdrawn(uint256 amount);

/// @dev Emitted when Taiko token are credited to the user's in-protocol
/// @dev Emitted when Taiko token are credited to the user's in-protocol
/// balance.
event TokenCredited(uint256 amount, bool minted);

Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/contracts/L1/TaikoL1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ contract TaikoL1 is
TaikoData.State public state;
uint256[100] private __gap;

/// @dev Fallback function to receive Ether and deposit to to Layer 2.
/// @dev Fallback function to receive Ether and deposit to Layer 2.
receive() external payable {
depositEtherToL2(address(0));
}
Expand Down
Loading

0 comments on commit 6a6cc8b

Please sign in to comment.