Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #147

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Version Packages #147

wants to merge 1 commit into from

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Nov 21, 2023

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 return IAuthority

  • 8ba37d2: Modified the OutputValidityProof struct

    • Removed all fields
    • Added an outputIndex field
    • Added an outputHashesSiblings field
  • 8ba37d2: Modified the ERC-20 deposit input:

    • Removed the success field, because the ERC-20 portal now only adds inputs for successful deposits.
  • 8ba37d2: Modified the CanonicalMachine library:

    • Updated the value of the INPUT_MAX_SIZE constant to reflect a change in the off-chain machine.
  • 8ba37d2: Modified the AbstractConsensus contract:

    • Removed the join function
    • Implemented the wasClaimAccepted function
    • Added an internal _acceptClaim function
  • 8ba37d2: Inputs are now blockchain-agnostic and self-contained blobs.

  • 446d05a: Add the following fields as the input metadata:

    • The application contract address
    • The chain ID
    • The latest RANDAO mix of the post beacon state of the previous block
  • 8ba37d2: Modified the IInputRelay interface:

    • Renamed it as IPortal
    • Moved it to contracts/portals
  • f8c25e9: Added a lastProcessedBlockNumber parameter to IConsensus functions and events.

  • 8ba37d2: Modified the IEtherPortal interface:

    • Added an EtherTransferFailed error.
  • 9e515d4: Made ISelfHostedApplicationFactory return IApplication

  • 3ef8cb5: Make IQuorumFactory functions return IQuorum

  • 8ba37d2: Bumped @openzeppelin/contracts from 4.9.2 to 5.0.2.

  • 3d40890: Removed authorityOwner parameter from AuthorityCreated 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 the common directory.

  • 8ba37d2: Modified the ICartesiDAppFactory interface:

    • Renamed it as IApplicationFactory.
    • Made it return IApplication instead of Application.
  • 8ba37d2: Modified the CartesiDApp contract:

    • Renamed it as Application.
    • Removed the withdrawEther function.
    • Removed the OnlyApplication error.
    • Removed the EtherTransferFailed error.
  • 8ba37d2: Removed:

    • the History contract.
    • the IHistory interface.
    • the HistoryFactory contract.
    • the IHistoryFactory interface.
    • the AuthorityHistoryPairFactory contract.
    • the IAuthorityHistoryPairFactory interface.
    • the OutputEncoding library.
    • the LibInput library.
    • the DAppAddressRelay contract.
    • the IDAppAddressRelay interface.
  • 8ba37d2: Modified the ICartesiDApp interface:

    • Renamed it as IApplication.

    • Made it inherit from IOwnable.

    • Modified the executeVoucher function:

      • Renamed it as executeOutput.
      • 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:

      • Renamed it as validateOutput.
      • Changed type of the proof parameter to OutputValidityProof.
      • Removed the boolean return value.
    • Modified the VoucherExecuted event:

      • Renamed it as OutputExecuted.
      • Removed voucherId parameters.
      • Added an outputIndex parameter.
      • Added an output parameter.
    • Modified the wasVoucherExecuted function:

      • Renamed it as 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:

      • Removed the sender parameter.
      • Changed the semantics of the input parameter.
    • Added an InputTooLarge error.

  • 8ba37d2: Modified the CartesiDAppFactory contract:

    • Renamed it as ApplicationFactory.
  • 8ba37d2: Modified the InputRelay contract:

    • Renamed it as Portal
    • Moved it to contracts/portals
  • 8ba37d2: 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,bytes32) function
  • 8ba37d2: Completely modified the IConsensus interface:

    • Removed the join function
    • Removed the getClaim function
    • Removed the ApplicationJoined event
    • Added a submitClaim function
    • Added a wasClaimAccepted function
    • Added a ClaimSubmission event
    • Added a ClaimAcceptance event
  • 8ba37d2: Bumped the Solidity compiler from 0.8.19 to 0.8.23.

  • 8ba37d2: Modified the IERC20Portal interface:

    • Added an ERC20TransferFailed error.
  • 8ba37d2: Removed deployments to Goerli testnets (L1 and L2s).

Minor Changes

  • 8ba37d2: Added:

    • an Outputs interface
    • a LibAddress library
    • a LibError library
    • a LibMerkle32 library
    • a Quorum contract (which implements the IConsensus interface)
    • a QuorumFactory contract
    • an IQuorumFactory interface
  • b7d6477: Add IOwnable interface

  • 5559379: Add a contract for safe ERC20 transfers. This can be used by delegatecall vouchers.

  • d425fe1: Add IQuorum interface

  • d4c1164: Add self-hosted application factory contract

  • 7f27379: Added a getEpochLength function to IConsensus interface.

  • 8e958f2: Supported the execution of DELEGATECALL vouchers

  • e1bcf0d: Add IAuthority interface

@github-actions github-actions bot force-pushed the changeset-release/main branch from efc639f to dd317bf Compare November 21, 2023 14:10
@github-actions github-actions bot force-pushed the changeset-release/main branch 3 times, most recently from 6c0bbe8 to ee00684 Compare November 28, 2023 12:28
@github-actions github-actions bot force-pushed the changeset-release/main branch 4 times, most recently from fa41577 to bd5e7de Compare December 4, 2023 12:41
@github-actions github-actions bot force-pushed the changeset-release/main branch 3 times, most recently from 5b88213 to e95a39e Compare December 11, 2023 12:50
@github-actions github-actions bot force-pushed the changeset-release/main branch 7 times, most recently from 232a6be to cf0cf4c Compare December 21, 2023 17:50
@github-actions github-actions bot force-pushed the changeset-release/main branch from cf0cf4c to 9e3d5af Compare December 21, 2023 19:25
@github-actions github-actions bot force-pushed the changeset-release/main branch 2 times, most recently from 3f5c8a4 to 02df8a2 Compare January 11, 2024 08:41
@github-actions github-actions bot force-pushed the changeset-release/main branch 7 times, most recently from 0b45594 to 9031675 Compare January 18, 2024 07:13
@rollups-contracts-bot rollups-contracts-bot force-pushed the changeset-release/main branch 4 times, most recently from d08a023 to b93194e Compare May 31, 2024 01:50
@rollups-contracts-bot rollups-contracts-bot force-pushed the changeset-release/main branch 2 times, most recently from 38f3682 to f3e7710 Compare August 19, 2024 12:33
@rollups-contracts-bot rollups-contracts-bot force-pushed the changeset-release/main branch 4 times, most recently from 33852fe to b508bf3 Compare October 16, 2024 19:03
@rollups-contracts-bot rollups-contracts-bot force-pushed the changeset-release/main branch 7 times, most recently from 740a8bd to 3d67442 Compare October 22, 2024 22:58
@rollups-contracts-bot rollups-contracts-bot force-pushed the changeset-release/main branch 6 times, most recently from 59a8d84 to d279512 Compare October 30, 2024 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant