From a6873a31c837c78215f3186df2fa8b86136e2db6 Mon Sep 17 00:00:00 2001 From: rollups-contracts-bot <153998668+rollups-contracts-bot@users.noreply.github.com> Date: Mon, 15 Jul 2024 19:44:34 +0000 Subject: [PATCH] chore: version packages (rc) --- .changeset/pre.json | 9 +++++++++ CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ package.json | 2 +- 3 files changed, 41 insertions(+), 1 deletion(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 30a20526..e15d102d 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -5,22 +5,29 @@ "@cartesi/rollups": "1.2.0" }, "changesets": [ + "brave-planes-knock", "calm-panthers-retire", "chilly-cherries-join", "clean-gorillas-occur", + "eleven-wombats-wonder", "famous-plums-scream", + "few-suits-laugh", "fuzzy-trainers-tan", "grumpy-coins-drop", "healthy-wasps-shout", "hip-pans-travel", + "hot-months-change", "large-emus-rescue", "lazy-gorillas-scream", + "lemon-hats-stare", "little-yaks-tickle", "lovely-meals-wink", "lucky-elephants-play", "mean-masks-fry", "old-fireants-flash", "olive-steaks-explode", + "perfect-rings-attend", + "proud-hotels-work", "purple-dolphins-nail", "purple-pots-attack", "quiet-guests-greet", @@ -30,11 +37,13 @@ "silly-islands-end", "six-doors-grow", "slow-comics-fold", + "smart-starfishes-cover", "smooth-ducks-trade", "spotty-peas-speak", "strange-foxes-melt", "strong-countries-check", "thirty-crews-fail", + "tidy-socks-search", "tough-carrots-invent", "violet-laws-sin", "weak-colts-lick", diff --git a/CHANGELOG.md b/CHANGELOG.md index 06a16296..17c0c4d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,36 @@ # @cartesi/rollups +## 2.0.0-rc.5 + +### Major Changes + +- 5b46210: Add `validateOutputHash` function to `IApplication` +- 5b46210: Removed `InputRange` struct +- 5b46210: Refactored `IConsensus` + + - Removed `InputRange` from functions and events + - Claim is now output hashes root hash + - Replaced `getEpochHash` with `wasClaimAccepted` + +- 5b46210: Updated `wasOutputExecuted` function signature + + - Removed `inputIndex` parameter + - Renamed `outputIndexWithinInput` as `outputIndex` + +- 5b46210: Remove functions `getInputBox` and `getPortals` from `IApplication` +- 5b46210: Removed parameters from `Application` contracts + + - `IInputBox` (not used) + - `IPortals[]` (wasted gas on `SSTORE`, not used) + +- 5b46210: Removed support to ERC-165 (not used) +- 5b46210: Remove `IInputBox` and `IPortal[]` parameters from `IApplicationFactory` and `ISelfHostedApplicationFactory` functions and events +- 5b46210: Completely restructured `OutputValidityProof` + + - Removed all fields + - Added `outputIndex` + - Added `outputHashesSiblings` + ## 2.0.0-rc.4 ### Major Changes diff --git a/package.json b/package.json index 91e2258b..49ec2cf8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cartesi/rollups", - "version": "2.0.0-rc.4", + "version": "2.0.0-rc.5", "scripts": { "build": "run-s compile export", "clean:ignored": "rimraf artifacts cache coverage deployments/localhost dist generated-src src/types/*",