-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: unify trees in
OutputValidityProof
- Loading branch information
Showing
7 changed files
with
71 additions
and
69 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@cartesi/rollups": minor | ||
--- | ||
|
||
Added `Outputs` interface. |
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,9 @@ | ||
--- | ||
"@cartesi/rollups": major | ||
--- | ||
|
||
Modified the `OutputValidityProof` struct: | ||
|
||
- Removed the `vouchersEpochRootHash` field | ||
- Removed the `noticesEpochRootHash` field | ||
- Added an `outputsEpochRootHash` field |
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
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,20 @@ | ||
// (c) Cartesi and individual authors (see AUTHORS) | ||
// SPDX-License-Identifier: Apache-2.0 (see LICENSE) | ||
|
||
pragma solidity ^0.8.8; | ||
|
||
/// @title Outputs | ||
/// @notice Defines the signatures of outputs that can be generated by the | ||
/// off-chain machine and verified by the on-chain contracts. | ||
interface Outputs { | ||
/// @notice A piece of verifiable information. | ||
/// @param notice An arbitrary blob. | ||
function Notice(bytes calldata notice) external; | ||
|
||
/// @notice A single-use permission to execute a specific message call | ||
/// from the context of the application contract. | ||
/// @param destination The address that will be called | ||
/// @param payload The payload, which—in the case of Solidity | ||
/// contracts—encodes a function call | ||
function Voucher(address destination, bytes calldata payload) external; | ||
} |
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