Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@cartesi/[email protected]
Major Changes
9e515d4: Make
IAuthorityFactory
functions returnIAuthority
8ba37d2: Modified the
OutputValidityProof
structoutputIndex
fieldoutputHashesSiblings
field8ba37d2: Modified the ERC-20 deposit input:
success
field, because the ERC-20 portal now only adds inputs for successful deposits.8ba37d2: Modified the
CanonicalMachine
library:INPUT_MAX_SIZE
constant to reflect a change in the off-chain machine.8ba37d2: Modified the
AbstractConsensus
contract:join
functionwasClaimAccepted
function_acceptClaim
function8ba37d2: Inputs are now blockchain-agnostic and self-contained blobs.
446d05a: Add the following fields as the input metadata:
8ba37d2: Modified the
IInputRelay
interface:IPortal
contracts/portals
f8c25e9: Added a
lastProcessedBlockNumber
parameter toIConsensus
functions and events.8ba37d2: Modified the
IEtherPortal
interface:EtherTransferFailed
error.9e515d4: Made
ISelfHostedApplicationFactory
returnIApplication
3ef8cb5: Make
IQuorumFactory
functions returnIQuorum
8ba37d2: Bumped
@openzeppelin/contracts
from4.9.2
to5.0.2
.3d40890: Removed
authorityOwner
parameter fromAuthorityCreated
event.7f27379: Added an
epochLength
parameter to functions of:IAuthorityFactory
ISelfHostedApplicationFactory
IQuorumFactory
8ba37d2: Added a
value
field to vouchers.8ba37d2: Moved
OutputValidityProof
to a dedicated file in thecommon
directory.8ba37d2: Modified the
ICartesiDAppFactory
interface:IApplicationFactory
.IApplication
instead ofApplication
.8ba37d2: Modified the
CartesiDApp
contract:Application
.withdrawEther
function.OnlyApplication
error.EtherTransferFailed
error.8ba37d2: Removed:
History
contract.IHistory
interface.HistoryFactory
contract.IHistoryFactory
interface.AuthorityHistoryPairFactory
contract.IAuthorityHistoryPairFactory
interface.OutputEncoding
library.LibInput
library.DAppAddressRelay
contract.IDAppAddressRelay
interface.8ba37d2: Modified the
ICartesiDApp
interface:Renamed it as
IApplication
.Made it inherit from
IOwnable
.Modified the
executeVoucher
function:executeOutput
.proof
parameter toOutputValidityProof
.Modified the
validateNotice
function:validateOutput
.proof
parameter toOutputValidityProof
.Modified the
VoucherExecuted
event:OutputExecuted
.voucherId
parameters.outputIndex
parameter.output
parameter.Modified the
wasVoucherExecuted
function:wasOutputExecuted
.Added a
validateOutputHash
function.Added an
InputIndexOutOfRange
error.Added an
OutputNotExecutable
error.Added an
OutputNotReexecutable
error.Added an
InvalidOutputHashesSiblingsArrayLength
error.Added an
ClaimNotAccepted
error.8ba37d2: Modified the
IInputBox
interface:Modified the
InputAdded
event:sender
parameter.input
parameter.Added an
InputTooLarge
error.8ba37d2: Modified the
CartesiDAppFactory
contract:ApplicationFactory
.8ba37d2: Modified the
InputRelay
contract:Portal
contracts/portals
8ba37d2: Modified the
Authority
contract:AuthorityWithdrawalFailed
errorNewHistory
eventgetClaim
functiongetHistory
functionjoin
functionmigrateHistoryToConsensus
functionsetHistory
functionsubmitClaim(bytes)
functionwithdrawERC20Tokens
functionsubmitClaim(address,bytes32)
function8ba37d2: Completely modified the
IConsensus
interface:join
functiongetClaim
functionApplicationJoined
eventsubmitClaim
functionwasClaimAccepted
functionClaimSubmission
eventClaimAcceptance
event8ba37d2: Bumped the Solidity compiler from
0.8.19
to0.8.23
.8ba37d2: Modified the
IERC20Portal
interface:ERC20TransferFailed
error.8ba37d2: Removed deployments to Goerli testnets (L1 and L2s).
Minor Changes
9f940da: Add data availability configuration to application contract
8ba37d2: Added:
Outputs
interfaceLibAddress
libraryLibError
libraryLibMerkle32
libraryQuorum
contract (which implements theIConsensus
interface)QuorumFactory
contractIQuorumFactory
interfaceb7d6477: Add
IOwnable
interface5559379: Add a contract for safe ERC20 transfers. This can be used by delegatecall vouchers.
d425fe1: Add
IQuorum
interfaced4c1164: Add self-hosted application factory contract
7f27379: Added a
getEpochLength
function toIConsensus
interface.597dc74: Add Cannonfile
8e958f2: Supported the execution of
DELEGATECALL
voucherse1bcf0d: Add
IAuthority
interface