-
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
423 changed files
with
2,811 additions
and
1,225 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,34 @@ layout: changelog | |
pre: "<b>5. </b>" | ||
--- | ||
|
||
### [6.1.0] - UNRELEASED | ||
|
||
#### Added | ||
|
||
- Two new script purposes (available from the Conway era onward): | ||
- `propose`: for proposing new governance actions. When itemized, comes with a `proposal` field that documents the associated governance proposal. | ||
- `vote`: for voting on a proposed governance action. When itemized, comes with an `issuer` field that documents the associated governance issuer. | ||
|
||
- A new field `guardrails` is now present on governance proposals of type `treasuryWithdrawals` and `protocolParametersUpdate`. It is either `null` or contains a script hash (blake2b, 28 bytes) that indicates the additional guardrails script that must successfully pass for the governance proposal to be considered valid. | ||
|
||
- The object returned from `ledgerState/rewardAccountSummaries` now contain an extra `deposit` field equals to the amount deposited and held by the associated stake credential. | ||
|
||
- A new query `ledgerState/constitution` to obtain the current on-chain constitution. This query is only available when the ledger is in the Conway era onwards. | ||
|
||
#### Changed | ||
|
||
- Configuration files no longer contain `mainnet_p2p`, `preprod_p2p`, `preview_p2p` and `sanchonet_p2p` folders. The p2p configs are now replacing the default configurations; so we're back to configuration folders for `mainnet`, `preprod`, `preview` and `sanchonet`. | ||
|
||
- The constitution `hash` is now wrapped in a singleton object `guardrails`, to better capture its meaning. It isn't the hash of the constitution script (which is covered by the `anchor` already), but the hash of the additional script policy which controls governance proposals of certain actions (e.g. treasury withdrawals, protocol parameters). | ||
|
||
- Renamed all fields `anchor` to `metadata` in the Conway era objects to be more consistent with other occurences of metadata in previous eras. | ||
|
||
- Fixed a few minor JSON-schema oversights such as `TransactionOutputReference`'s index now being a `UInt64` (instead of `UInt32`). | ||
|
||
#### Removed | ||
|
||
- `InternalLedgerTypeConversionError` which can no longer occur. | ||
|
||
### [6.0.3] - 2024-02-02 | ||
|
||
#### Added | ||
|
@@ -628,7 +656,7 @@ N/A | |
|
||
#### Added | ||
|
||
- Integrated with the Cardano eco-system corresponding to [[email protected]](https://github.com/input-output-hk/cardano-node/releases/tag/1.29.0) (Alonzo!) & latest testnet(s). | ||
- Integrated with the Cardano eco-system corresponding to [[email protected]](https://github.com/intersectMBO/cardano-node/releases/tag/1.29.0) (Alonzo!) & latest testnet(s). | ||
> | ||
- New `alonzo` block type, with various additions related to Alonzo. | ||
> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
clients/TypeScript/packages/client/src/LedgerStateQuery/query/constitution.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { InteractionContext, Method } from '../../Connection' | ||
import { Ogmios, Constitution } from '@cardano-ogmios/schema' | ||
|
||
type Request = Ogmios['QueryLedgerStateConstitution'] | ||
type Response = Ogmios['QueryLedgerStateConstitutionResponse'] | ||
|
||
/** | ||
* Get the current Cardano {@link Constitution} | ||
* | ||
* @category LedgerStateQuery | ||
*/ | ||
export function constitution (context: InteractionContext): Promise<Constitution> { | ||
return Method<Request, Response, Constitution>( | ||
{ | ||
method: 'queryLedgerState/constitution' | ||
}, | ||
{}, | ||
context | ||
) | ||
} |
1 change: 1 addition & 0 deletions
1
clients/TypeScript/packages/client/src/LedgerStateQuery/query/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.