Added plutus-tx-plugin-1.64.0.0
From https://github.com/IntersectMBO/plutus at 61b1eedf082050d89cde8db89d73aae65bc95a65
From https://github.com/IntersectMBO/plutus at 61b1eedf082050d89cde8db89d73aae65bc95a65
From https://github.com/IntersectMBO/plutus at 61b1eedf082050d89cde8db89d73aae65bc95a65
From https://github.com/IntersectMBO/plutus at 61b1eedf082050d89cde8db89d73aae65bc95a65
From https://github.com/IntersectMBO/plutus at 61b1eedf082050d89cde8db89d73aae65bc95a65
From https://github.com/IntersectMBO/plutus at 61b1eedf082050d89cde8db89d73aae65bc95a65
- /governance/committee: current committee snapshot with members, quorum,
and source NewCommittee governance action (null for the Conway-genesis
committee).
- /governance/committee/votes: paged history of all CC member votes.
- /governance/committee/{cc_id}/votes: paged votes filtered by CIP-129 hot
or cold credential; cold queries aggregate across hot-key rotations.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Keep deposit only on per-event endpoints:
- /accounts/{stake_address}/registrations
- /governance/dreps/{drep_id}/updates
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Use of getTxBody in cardano-rpc/src/Cardano/Rpc/Server/Internal/UtxoRpc/Submit.hs will be migrated to the experimental API in a follow-up. Suppress the deprecation warning here to keep -Werror green, matching the approach used for the internal cardano-api modules in the previous commit.
Add JSON serialisation instances for all types composing `Tx TopTx ShelleyEra`: - `cardano-ledger-core`: `TxIn`, `TxId`, `Metadatum`, `WitVKey`, `BootstrapWitness`, `Addr`, `RewardAccount`, `ScriptHash` (ToJSONKey/FromJSONKey) - `cardano-ledger-shelley`: `ShelleyTx`, `ShelleyTxBody`, `ShelleyTxWits`, `ShelleyTxAuxData`, `ShelleyTxOut`, `MultiSig`, `Update`, `ProposedPPUpdates` Conventions followed: - `kindObject` for sum types - `ToKeyValuePairs` + `deriving via KeyValuePairs` for product types - TxIn serialised as "TxIx#TxIx" text key - Map fields serialised as JSON objects (not lists of pairs) Add golden JSON test for `Tx TopTx ShelleyEra` at `eras/shelley/impl/golden/tx.json`.
Add JSON serialisation instances for all types composing `Tx TopTx MaryEra`:
- `AssetName`: `FromJSON` (hex text) and `FromJSONKey` in `Cardano.Ledger.Mary.Value`
- `MultiAsset`: `FromJSON` in `Cardano.Ledger.Mary.Value`
- `MaryValue`: `FromJSON` (`{"lovelace": N, "policies": {...}}`) in `Cardano.Ledger.Mary.Value`
- `TxBody TopTx MaryEra` in `Cardano.Ledger.Mary.TxBody`
- `Tx TopTx MaryEra` in `Cardano.Ledger.Mary.Tx` (via newtype delegation)
Add golden JSON test for `Tx TopTx MaryEra` at `eras/mary/impl/golden/tx.json`.
`goldenExampleEraTxCborSpec` allows us to generate a `Spec` for generating a `golden/tx.cbor` golden file out of some `Tx` provided as a parameter. Then, for each era's test-suite, we call this function to generate the golden file using the example transaction we have defined for each era. We also extended `EraTest` so that we don't need to manually call `getDataFileName` in order to get the fullpath for each era's cabal project. We also create new `Binary.Golden` modules for Mary and Babbage (previously they reused Allegra's and Alonzo's respectively, which used the wrong era's example transactions). Additionally, fix `exampleDijkstraBasedTopTx` to not add PlutusV4 scripts to `scriptTxWitsL`: PlutusV4 is not included in Dijkstra's `transaction_witness_set` CDDL, so those scripts were silently dropped during serialization, causing a roundtrip failure.
Signed-off-by: Chris Gianelloni <[email protected]>
This will use the correct package database
Deprecates the old-API transaction body surface (the type, its constructor, and direct producers/consumers) so users are pointed at 'Cardano.Api.Experimental'. Internal modules that still use these symbols are annotated with -Wno-deprecations to keep -Werror green; they will be migrated in a follow-up along with the setter family. Deprecations: - TxBody (data type), ShelleyTxBody (constructor) - TxBodyContent (type/constructor) - createTransactionBody, defaultTxBodyContent - getTxBody, getTxBodyContent - BalancedTxBody The existing pattern-synonym TxBody deprecation message is updated for consistency with the new messages.