fix(ledger): skip rollback if it is ahead of ledger tip (#2242)
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
* Create CIP-remove-drep-reward-requirement * Add discussion link and remove unecessary section * Remove unecessary sections * assign CIP number 181 * Update CIP-remove-drep-reward-requirement/README.md Co-authored-by: Robert Phair <[email protected]> * Update CIP-remove-drep-reward-requirement/README.md Co-authored-by: Robert Phair <[email protected]> * Update CIP-remove-drep-reward-requirement/README.md Co-authored-by: Robert Phair <[email protected]> * Update CIP-remove-drep-reward-requirement/README.md Co-authored-by: Robert Phair <[email protected]> * Update CIP-remove-drep-reward-requirement/README.md Co-authored-by: Ryan <[email protected]> --------- Co-authored-by: Robert Phair <[email protected]> Co-authored-by: Ryan <[email protected]>
* meeting 131 merges + CIP-0162 title update for consistency * first draft of difference resolutions * more precise title for CPS-0014 Co-authored-by: Thomas Vellekoop <[email protected]> * quoting literals where missing from document CIP titles * fix camelCase for dropList to match document Co-authored-by: Ryan <[email protected]> --------- Co-authored-by: Thomas Vellekoop <[email protected]> Co-authored-by: Ryan <[email protected]>
Co-authored-by: Ryan <[email protected]>
Add `NoThunks` instances for `ChainTransitionError` and `ChainPredicateFailure`
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Guiney <[email protected]>
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`.
`makeShelleyUpdateProposal` (cardano-api ^>=11.1) accepts `EraBasedProtocolParametersUpdate era` directly. The existing code in `shelleyToBabbageProtocolParametersUpdate` constructed that value, converted it to the deprecated `ProtocolParametersUpdate` via `createEraBasedProtocolParamUpdate` / `fromLedgerPParamsUpdate`, and passed the result to `makeShelleyUpdateProposal` — an unnecessary round-trip through the old API. Drop the conversion; pass `eraBasedPParams` directly. No behaviour change.
Signed-off-by: cryptodj413 <[email protected]>
Point at the ch1bo/leios-voting branches of cardano-ledger and ouroboros-network instead of relative local paths. Co-Authored-By: Claude Opus 4.7 <[email protected]>