-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"@cartesi/rollups": major | ||
--- | ||
|
||
Modified the `OutputValidityProof` struct: | ||
|
||
- Collapsed the `vouchersEpochRootHash` and `noticesEpochRootHash` fields into a single `outputsEpochRootHash` field | ||
- Added an `inputRange` field |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@cartesi/rollups": major | ||
--- | ||
|
||
Modified the ERC-20 deposit input: | ||
|
||
- Removed the `success` field, because the ERC-20 portal now only adds inputs for successful deposits. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"@cartesi/rollups": major | ||
--- | ||
|
||
Modified the `CanonicalMachine` library: | ||
|
||
- Renamed the `INPUT_MAX_SIZE` constant as `INPUT_PAYLOAD_MAX_SIZE`. | ||
- Collapsed the `VOUCHER_METADATA_LOG2_SIZE` and `NOTICE_METADATA_LOG2_SIZE` constants into a single `OUTPUT_METADATA_LOG2_SIZE` constant (with the same value). | ||
- Collapsed the `EPOCH_VOUCHER_LOG2_SIZE` and `EPOCH_NOTICE_LOG2_SIZE` constants into a single `EPOCH_OUTPUT_LOG2_SIZE` constant (with the same value). |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
"@cartesi/rollups": major | ||
--- | ||
|
||
Modified the `EtherPortal` contract: | ||
|
||
- Made it support the following interfaces (as in EIP-165): | ||
|
||
- `IERC165` | ||
- `IInputRelay` | ||
- `IEtherPortal` |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"@cartesi/rollups": major | ||
--- | ||
|
||
Modified the `AbstractConsensus` contract: | ||
|
||
- Removed the `join` function | ||
- Implemented the `getEpochHash` function | ||
- Added an internal `_acceptClaim` function |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
"@cartesi/rollups": minor | ||
--- | ||
|
||
Added: | ||
|
||
- an `Outputs` interface | ||
- an `InputRange` struct | ||
- a `LibInputRange` library | ||
- a `Quorum` contract (which implements the `IConsensus` interface) | ||
- a `QuorumFactory` contract | ||
- an `IQuorumFactory` interface |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@cartesi/rollups": major | ||
--- | ||
|
||
Modified the `IInputRelay` interface: | ||
|
||
- Made it inherit from `IERC165` |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
"@cartesi/rollups": major | ||
--- | ||
|
||
Modified the `ERC1155BatchPortal` contract: | ||
|
||
- Made it support the following interfaces (as in EIP-165): | ||
|
||
- `IERC165` | ||
- `IInputRelay` | ||
- `IERC1155BatchPortal` |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@cartesi/rollups": major | ||
--- | ||
|
||
Modified the `IEtherPortal` interface: | ||
|
||
- Added an `EtherTransferFailed` error. |
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@cartesi/rollups": major | ||
--- | ||
|
||
Modified the `IDAppAddressRelay` interface: | ||
|
||
- Renamed it as `IApplicationAddressRelay`. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
"@cartesi/rollups": major | ||
--- | ||
|
||
Modified the `DAppAddressRelay` contract: | ||
|
||
- Renamed it as `ApplicationAddressRelay`. | ||
|
||
- Made it support the following interfaces (as in EIP-165): | ||
|
||
- `IERC165` | ||
- `IInputRelay` | ||
- `IApplicationAddressRelay` |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@cartesi/rollups": major | ||
--- | ||
|
||
Moved `Proof` to a dedicated file in the `common` directory. |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@cartesi/rollups": major | ||
--- | ||
|
||
Moved `OutputValidityProof` to a dedicated file in the `common` directory. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
"@cartesi/rollups": major | ||
--- | ||
|
||
Modified the `ICartesiDAppFactory` interface: | ||
|
||
- Renamed it as `IApplicationFactory`. | ||
|
||
- Added the following parameters to its functions and events: | ||
|
||
- `inputBox` | ||
- `inputRelays` |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
"@cartesi/rollups": major | ||
--- | ||
|
||
Modified the `CartesiDApp` contract: | ||
|
||
- Renamed it as `Application`. | ||
|
||
- Added the following parameters to its constructor: | ||
|
||
- `inputBox` | ||
- `inputRelays` | ||
|
||
- Made it support the following interfaces (as in EIP-165): | ||
|
||
- `IApplication` | ||
- `IERC721Receiver` |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
"@cartesi/rollups": major | ||
--- | ||
|
||
Modified the `ERC1155SinglePortal` contract: | ||
|
||
- Made it support the following interfaces (as in EIP-165): | ||
|
||
- `IERC165` | ||
- `IInputRelay` | ||
- `IERC1155SinglePortal` |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
"@cartesi/rollups": major | ||
--- | ||
|
||
Removed: | ||
|
||
- the `History` contract. | ||
- the `IHistory` interface. | ||
- the `HistoryFactory` contract. | ||
- the `IHistoryFactory` interface. | ||
- the `AuthorityHistoryPairFactory` contract. | ||
- the `IAuthorityHistoryPairFactory` interface. | ||
- the `OutputEncoding` library. |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
"@cartesi/rollups": major | ||
--- | ||
|
||
Modified the `ICartesiDApp` interface: | ||
|
||
- Renamed it as `IApplication`. | ||
|
||
- Made it inherit from: | ||
|
||
- `IERC721Receiver`. | ||
- `IERC1155Receiver` (which inherits from `IERC165`). | ||
|
||
- Modified the `executeVoucher` function: | ||
|
||
- Errors raised by low-level calls are bubbled up. | ||
- Changed the type of the `proof` parameter to `OutputValidityProof`. | ||
- Removed the boolean return value. | ||
|
||
- Modified the `validateNotice` function: | ||
|
||
- Changed type of the `proof` parameter to `OutputValidityProof`. | ||
- Removed the boolean return value. | ||
|
||
- Modified the `VoucherExecuted` event: | ||
|
||
- Split the `voucherId` parameter into `inputIndex` and `outputIndexWithinInput` parameters. | ||
|
||
- Added a `getInputBox` function. | ||
|
||
- Added a `getInputRelays` function. | ||
|
||
- Added an `InputIndexOutOfRange` error. | ||
|
||
- Added a `VoucherReexecutionNotAllowed` error. | ||
|
||
- Added an `IncorrectEpochHash` error. | ||
|
||
- Added an `IncorrectOutputsEpochRootHash` error. | ||
|
||
- Added an `IncorrectOutputHashesRootHash` error. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@cartesi/rollups": major | ||
--- | ||
|
||
Modified the `CartesiDAppFactory` contract: | ||
|
||
- Renamed it as `ApplicationFactory`. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
"@cartesi/rollups": major | ||
--- | ||
|
||
Modified the `InputRelay` contract: | ||
|
||
- Made it support the following interfaces (as in EIP-165): | ||
|
||
- `IERC165` | ||
- `IInputRelay` |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
"@cartesi/rollups": major | ||
--- | ||
|
||
Modified the `Authority` contract: | ||
|
||
- Removed the `AuthorityWithdrawalFailed` error | ||
- Removed the `NewHistory` event | ||
- Removed the `getClaim` function | ||
- Removed the `getHistory` function | ||
- Removed the `join` function | ||
- Removed the `migrateHistoryToConsensus` function | ||
- Removed the `setHistory` function | ||
- Removed the `submitClaim(bytes)` function | ||
- Removed the `withdrawERC20Tokens` function | ||
- Implemented the `submitClaim(address,(uint64,uint64),bytes32)` function |