diff --git a/.changeset/multiasset-structural-lookup.md b/.changeset/multiasset-structural-lookup.md deleted file mode 100644 index d372fcaf..00000000 --- a/.changeset/multiasset-structural-lookup.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@evolution-sdk/evolution": patch ---- - -Look assets up by structural equality in `MultiAsset` and compare quantities directly in `Value.geq`. `getAsset`, `hasAsset`, `getAssetsByPolicy`, and `MultiAsset.subtract` read the map with `Map.get`, which compares `PolicyId` and `AssetName` by reference. Keys decoded from CBOR are fresh instances, so every lookup against decoded data missed: `getAsset` returned `undefined` for an asset that was present, `hasAsset` returned `false`, `getAssetsByPolicy` returned an empty array, and `subtract` returned the minuend unchanged instead of reducing it. `Value.geq` inferred sufficiency from `subtract` not throwing, so it reported that a value covered an amount it did not hold. These functions now match keys the way `addAsset` already did, and `geq` compares the coin and each requested quantity directly. diff --git a/.changeset/native-script-cc-certificates.md b/.changeset/native-script-cc-certificates.md deleted file mode 100644 index fdbf4d8a..00000000 --- a/.changeset/native-script-cc-certificates.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@evolution-sdk/evolution": patch ---- - -`TxBuilder` no longer requires a Plutus redeemer to authorize a hot credential or resign a native-script (multisig) constitutional committee cold credential. A CC certificate whose cold credential is a native script is authorized by vkey witnesses, not a redeemer, so previously `.authCommitteeHot()` and `.resignCommitteeCold()` could not build these ledger-valid certificates. Mirroring the DRep certificate fix, the native-vs-Plutus distinction is made at build time once the cold credential's script is attached via `.attachScript()` (or supplied through a reference input): a redeemer is required only for Plutus-script cold credentials, and a redeemer mistakenly supplied for a native-script cold credential is pruned from the transaction. diff --git a/.changeset/native-script-drep-registration.md b/.changeset/native-script-drep-registration.md deleted file mode 100644 index f1a45030..00000000 --- a/.changeset/native-script-drep-registration.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@evolution-sdk/evolution": patch ---- - -`TxBuilder` no longer requires a Plutus redeemer to register, update, or deregister a native-script (multisig) DRep. A script-controlled DRep certificate whose script is native is authorized by vkey witnesses, not a redeemer, so previously these certificates could not be built even though they are ledger-valid. Mirroring the native-script vote fix, the native-vs-Plutus distinction is now made at build time, once the DRep's script is attached via `.attachScript()` (or supplied through a reference input): a redeemer is required only for Plutus-script DRep credentials, and a redeemer mistakenly supplied for a native-script DRep certificate is pruned from the transaction. \ No newline at end of file diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 17d4d3f2..cf61e3c0 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,13 @@ # docs +## 0.0.55 + +### Patch Changes + +- Updated dependencies [[`5d4ef7c`](https://github.com/IntersectMBO/evolution-sdk/commit/5d4ef7c581bf06beacd087b643bd00e1a8019ef6), [`2b6825f`](https://github.com/IntersectMBO/evolution-sdk/commit/2b6825ffaab4d37b5631708a1f60c10272444a1d), [`2b6825f`](https://github.com/IntersectMBO/evolution-sdk/commit/2b6825ffaab4d37b5631708a1f60c10272444a1d)]: + - @evolution-sdk/evolution@0.5.13 + - @evolution-sdk/devnet@3.0.14 + ## 0.0.54 ### Patch Changes diff --git a/docs/package.json b/docs/package.json index 570c88b3..eef980b9 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "docs", - "version": "0.0.54", + "version": "0.0.55", "private": true, "type": "module", "scripts": { diff --git a/examples/with-vite-react/CHANGELOG.md b/examples/with-vite-react/CHANGELOG.md index f94e396a..f1414673 100644 --- a/examples/with-vite-react/CHANGELOG.md +++ b/examples/with-vite-react/CHANGELOG.md @@ -1,5 +1,12 @@ # evolution-vite-react-example +## 0.1.33 + +### Patch Changes + +- Updated dependencies [[`5d4ef7c`](https://github.com/IntersectMBO/evolution-sdk/commit/5d4ef7c581bf06beacd087b643bd00e1a8019ef6), [`2b6825f`](https://github.com/IntersectMBO/evolution-sdk/commit/2b6825ffaab4d37b5631708a1f60c10272444a1d), [`2b6825f`](https://github.com/IntersectMBO/evolution-sdk/commit/2b6825ffaab4d37b5631708a1f60c10272444a1d)]: + - @evolution-sdk/evolution@0.5.13 + ## 0.1.32 ### Patch Changes diff --git a/examples/with-vite-react/package.json b/examples/with-vite-react/package.json index 7cc6edef..0c9bccba 100644 --- a/examples/with-vite-react/package.json +++ b/examples/with-vite-react/package.json @@ -1,6 +1,6 @@ { "name": "evolution-vite-react-example", - "version": "0.1.32", + "version": "0.1.33", "private": true, "type": "module", "scripts": { diff --git a/packages/aiken-uplc/CHANGELOG.md b/packages/aiken-uplc/CHANGELOG.md index 8e755589..db5e1dd8 100644 --- a/packages/aiken-uplc/CHANGELOG.md +++ b/packages/aiken-uplc/CHANGELOG.md @@ -1,5 +1,12 @@ # @evolution-sdk/aiken-uplc +## 2.0.13 + +### Patch Changes + +- Updated dependencies [[`5d4ef7c`](https://github.com/IntersectMBO/evolution-sdk/commit/5d4ef7c581bf06beacd087b643bd00e1a8019ef6), [`2b6825f`](https://github.com/IntersectMBO/evolution-sdk/commit/2b6825ffaab4d37b5631708a1f60c10272444a1d), [`2b6825f`](https://github.com/IntersectMBO/evolution-sdk/commit/2b6825ffaab4d37b5631708a1f60c10272444a1d)]: + - @evolution-sdk/evolution@0.5.13 + ## 2.0.12 ### Patch Changes diff --git a/packages/aiken-uplc/package.json b/packages/aiken-uplc/package.json index 4aaeb29f..de4f023d 100644 --- a/packages/aiken-uplc/package.json +++ b/packages/aiken-uplc/package.json @@ -1,6 +1,6 @@ { "name": "@evolution-sdk/aiken-uplc", - "version": "2.0.12", + "version": "2.0.13", "description": "Aiken UPLC evaluator for Evolution SDK with WASM-based local script evaluation", "type": "module", "main": "./dist/index.js", diff --git a/packages/evolution-devnet/CHANGELOG.md b/packages/evolution-devnet/CHANGELOG.md index 6c50a3bd..0a9ee015 100644 --- a/packages/evolution-devnet/CHANGELOG.md +++ b/packages/evolution-devnet/CHANGELOG.md @@ -1,5 +1,14 @@ # @evolution-sdk/devnet +## 3.0.14 + +### Patch Changes + +- Updated dependencies [[`5d4ef7c`](https://github.com/IntersectMBO/evolution-sdk/commit/5d4ef7c581bf06beacd087b643bd00e1a8019ef6), [`2b6825f`](https://github.com/IntersectMBO/evolution-sdk/commit/2b6825ffaab4d37b5631708a1f60c10272444a1d), [`2b6825f`](https://github.com/IntersectMBO/evolution-sdk/commit/2b6825ffaab4d37b5631708a1f60c10272444a1d)]: + - @evolution-sdk/evolution@0.5.13 + - @evolution-sdk/aiken-uplc@2.0.13 + - @evolution-sdk/scalus-uplc@2.0.13 + ## 3.0.13 ### Patch Changes diff --git a/packages/evolution-devnet/package.json b/packages/evolution-devnet/package.json index a57e70df..946ea2b3 100644 --- a/packages/evolution-devnet/package.json +++ b/packages/evolution-devnet/package.json @@ -1,6 +1,6 @@ { "name": "@evolution-sdk/devnet", - "version": "3.0.13", + "version": "3.0.14", "description": "Local Cardano devnet for testing and development with Docker", "type": "module", "main": "./dist/index.js", diff --git a/packages/evolution/CHANGELOG.md b/packages/evolution/CHANGELOG.md index c416db30..334c54c9 100644 --- a/packages/evolution/CHANGELOG.md +++ b/packages/evolution/CHANGELOG.md @@ -1,5 +1,15 @@ # @evolution-sdk/evolution +## 0.5.13 + +### Patch Changes + +- [#519](https://github.com/IntersectMBO/evolution-sdk/pull/519) [`5d4ef7c`](https://github.com/IntersectMBO/evolution-sdk/commit/5d4ef7c581bf06beacd087b643bd00e1a8019ef6) Thanks [@solidsnakedev](https://github.com/solidsnakedev)! - Look assets up by structural equality in `MultiAsset` and compare quantities directly in `Value.geq`. `getAsset`, `hasAsset`, `getAssetsByPolicy`, and `MultiAsset.subtract` read the map with `Map.get`, which compares `PolicyId` and `AssetName` by reference. Keys decoded from CBOR are fresh instances, so every lookup against decoded data missed: `getAsset` returned `undefined` for an asset that was present, `hasAsset` returned `false`, `getAssetsByPolicy` returned an empty array, and `subtract` returned the minuend unchanged instead of reducing it. `Value.geq` inferred sufficiency from `subtract` not throwing, so it reported that a value covered an amount it did not hold. These functions now match keys the way `addAsset` already did, and `geq` compares the coin and each requested quantity directly. + +- [#494](https://github.com/IntersectMBO/evolution-sdk/pull/494) [`2b6825f`](https://github.com/IntersectMBO/evolution-sdk/commit/2b6825ffaab4d37b5631708a1f60c10272444a1d) Thanks [@emmanuel-musau](https://github.com/emmanuel-musau)! - `TxBuilder` no longer requires a Plutus redeemer to authorize a hot credential or resign a native-script (multisig) constitutional committee cold credential. A CC certificate whose cold credential is a native script is authorized by vkey witnesses, not a redeemer, so previously `.authCommitteeHot()` and `.resignCommitteeCold()` could not build these ledger-valid certificates. Mirroring the DRep certificate fix, the native-vs-Plutus distinction is made at build time once the cold credential's script is attached via `.attachScript()` (or supplied through a reference input): a redeemer is required only for Plutus-script cold credentials, and a redeemer mistakenly supplied for a native-script cold credential is pruned from the transaction. + +- [#494](https://github.com/IntersectMBO/evolution-sdk/pull/494) [`2b6825f`](https://github.com/IntersectMBO/evolution-sdk/commit/2b6825ffaab4d37b5631708a1f60c10272444a1d) Thanks [@emmanuel-musau](https://github.com/emmanuel-musau)! - `TxBuilder` no longer requires a Plutus redeemer to register, update, or deregister a native-script (multisig) DRep. A script-controlled DRep certificate whose script is native is authorized by vkey witnesses, not a redeemer, so previously these certificates could not be built even though they are ledger-valid. Mirroring the native-script vote fix, the native-vs-Plutus distinction is now made at build time, once the DRep's script is attached via `.attachScript()` (or supplied through a reference input): a redeemer is required only for Plutus-script DRep credentials, and a redeemer mistakenly supplied for a native-script DRep certificate is pruned from the transaction. + ## 0.5.12 ### Patch Changes diff --git a/packages/evolution/package.json b/packages/evolution/package.json index ca848029..e90869e8 100644 --- a/packages/evolution/package.json +++ b/packages/evolution/package.json @@ -1,6 +1,6 @@ { "name": "@evolution-sdk/evolution", - "version": "0.5.12", + "version": "0.5.13", "description": "A modern TypeScript SDK for Cardano blockchain development", "type": "module", "main": "./dist/index.js", diff --git a/packages/scalus-uplc/CHANGELOG.md b/packages/scalus-uplc/CHANGELOG.md index 23427e2d..44e8568c 100644 --- a/packages/scalus-uplc/CHANGELOG.md +++ b/packages/scalus-uplc/CHANGELOG.md @@ -1,5 +1,12 @@ # @evolution-sdk/scalus-uplc +## 2.0.13 + +### Patch Changes + +- Updated dependencies [[`5d4ef7c`](https://github.com/IntersectMBO/evolution-sdk/commit/5d4ef7c581bf06beacd087b643bd00e1a8019ef6), [`2b6825f`](https://github.com/IntersectMBO/evolution-sdk/commit/2b6825ffaab4d37b5631708a1f60c10272444a1d), [`2b6825f`](https://github.com/IntersectMBO/evolution-sdk/commit/2b6825ffaab4d37b5631708a1f60c10272444a1d)]: + - @evolution-sdk/evolution@0.5.13 + ## 2.0.12 ### Patch Changes diff --git a/packages/scalus-uplc/package.json b/packages/scalus-uplc/package.json index 8483d07b..a248b39a 100644 --- a/packages/scalus-uplc/package.json +++ b/packages/scalus-uplc/package.json @@ -1,6 +1,6 @@ { "name": "@evolution-sdk/scalus-uplc", - "version": "2.0.12", + "version": "2.0.13", "description": "Scalus UPLC evaluator adapter for Evolution SDK", "type": "module", "main": "./dist/index.js",