Skip to content

Marlowe Runtime v0.0.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@jhbertra jhbertra released this 11 Aug 18:45
· 857 commits to main since this release
addc170

Release Notes

Marlowe Runtime

Removed

  • BREAKING MarloweTracedT - now there is only MarloweT.

  • Custom Marlowe JSON with imports format for marlowe-runtime-cli load

  • Traces from chain sync and chain seek clients

Added

  • marlowe-runtime executable and Docker image providing an all-in-one runtime option.

  • Safety analysis integrated into contract creation result.

  • New ReqStatus query to Marlowe Query that returns sync info and version info.

  • Status information is now included in response headers of all REST API calls.

  • Added --stake-address to marlowe-runtime-cli create command, for attaching stake credentials to Marlowe's validator address.

  • New main protocol MarloweTransfer for copying contracts to / from contract store.

  • marlowe-runtime-cli export command to download a contract bundle from the store.

  • POST /contracts/sources endpoint provides access to contract import in the
    REST API (via MarloweTransfer).

  • /contracts/sources/:contractSourceId endpoint with GET method and two sub-resources for adjacency and closure.

  • Request body for POST /contracts now accepts a contract source ID as well as contract JSON.

  • Console logs for marlowe-chain-indexer and marlowe-indexer sync progress

Changed

  • marlowe-runtime-cli load now accepts a contract bundle

  • Sync performance of marlowe-indexer improved via bulk queries.

  • New partitions added to accommodate slots upt to 200 million in chain database.

  • BREAKING MerkleizeInputs accepts a contract instead of a hash.

  • Signature of Language.Marlowe.Runtime.Transaction.Safety.checkTransactions change to use protocol parameters in place of constraint solver.

Fixed

  • Metadata tag length cannot be longer than 64 characters

    • metadata tags now get chunked into lists of text of max. 64 characters
      each to comply with the CDDL specification for transaction metadata.
  • Importing a JSON contract doesn't work

  • Importing an exported contract archive doesn't work

  • Computation of maximum possible Plutus execution costs now rounds upwards.

  • Transaction submission hangs when chain sync loses connection to node.

  • Auto-merkleization of inputs fails if contract in datum got reduced.

  • Removed inconsistency in system start for safety checks (PLT-6849).

Marlowe Runtime Web

Added

  • New Endpoint GET : contracts/:contractId/next (Provide a description of what can be done for a given contract)
  • Results of contract's safety analysis reported in create response.
  • Unclaimed payouts added in /contracts/:contractId

  • Optional Filetring by Party for GET : contracts/:contractId/next

  • Added header X-Stake-Address for creating contracts.