Skip to content

Commit

Permalink
Update dependencies to cardano-node==10.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
KtorZ committed Nov 8, 2024
1 parent eaf551c commit ef14391
Show file tree
Hide file tree
Showing 44 changed files with 8,373 additions and 67 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ jobs:
os: [ linux ]
arch: [ x86_64 ]
network: [ preview ]
cardano-node: [ 9.2.0 ]
cardano-node: [ 10.1.2 ]

runs-on: ${{ matrix.os == 'linux' && 'ubuntu-22.04' }}
steps:
Expand Down Expand Up @@ -404,8 +404,8 @@ jobs:
os: [ linux ]
target: [ cardano-node-ogmios ]
network: [ mainnet, preprod, preview, sanchonet ]
cardano-node: [ 9.2.0, 9.1.1 ]
cardano-node-latest: [ 9.2.0 ]
cardano-node: [ 10.1.2 ]
cardano-node-latest: [ 10.1.2 ]
arch: [ x86_64 ]
steps:
- name: 📥 Checkout repository
Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,23 @@ pre: "<b>6. </b>"
math: true
---

### [6.9.0] - UNRELEASED

#### Added

- Integrate `cardano-node==10.1.2` and associated dependencies.
- New transaction submission / evaluation errors:
- [`EmptyTreasuryWithdrawal`](https://ogmios.dev/mini-protocols/local-tx-submission#schema-3168/EmptyTreasuryWithdrawal) (`code=3168`) triggered when a transaction contains a governance proposal with an empty treasury withdrawal.
- [`UnexpectedMempoolError`](https://ogmios.dev/mini-protocols/local-tx-submission#schema-3997/UnexpectedMempoolError) (`code=3997`) triggered when a transaction is rejected due to custom arbitrary rules that prevented it from entering the mempool.

#### Changed

- N/A

#### Removed

- N/A

### [6.8.0] - 2024-09-21

#### Added
Expand Down
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,18 @@

## Compatibility

| Ogmios | Cardano-node (mainnet, preview, preprod) |
| --- | --- |
| **`v6.7.*`** | **`9.2.0`**, **`9.1.1`** |
| `v6.6.*` | `9.1.1` |
| `v6.5.*` | `9.0.0`, `9.1.0` |
| `v6.4.*` | `8.9.3` |
| `v6.3.*` | `8.9.2` |
| `v6.2.*` | `8.9.0` |
| `v6.1.*` | `8.7.3` |
| `v5.6.*` | `1.35.4`, `1.35.7` |
| Ogmios | Cardano-node (mainnet, preview, preprod) |
| --- | --- |
| **`v6.9.*`** | **`10.1.2`** |
| `v6.8.*` | `9.2.0`, `9.1.1` |
| `v6.7.*` | `9.2.0`, `9.1.1` |
| `v6.6.*` | `9.1.1` |
| `v6.5.*` | `9.0.0`, `9.1.0` |
| `v6.4.*` | `8.9.3` |
| `v6.3.*` | `8.9.2` |
| `v6.2.*` | `8.9.0` |
| `v6.1.*` | `8.7.3` |
| `v5.6.*` | `1.35.4`, `1.35.7` |

[SanchoNet]: https://sancho.network/

Expand Down
23 changes: 21 additions & 2 deletions clients/TypeScript/packages/schema/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ export type SubmitTransactionFailure =
| SubmitTransactionFailureUnauthorizedGovernanceAction
| SubmitTransactionFailureReferenceScriptsTooLarge
| SubmitTransactionFailureUnknownVoters
| SubmitTransactionFailureEmptyTreasuryWithdrawal
| SubmitTransactionFailureUnexpectedMempoolError
| SubmitTransactionFailureUnrecognizedCertificateType;
export type Era = "byron" | "shelley" | "allegra" | "mary" | "alonzo" | "babbage" | "conway";
export type ScriptPurpose =
Expand Down Expand Up @@ -1156,7 +1158,7 @@ export interface BootstrapVote {
}
export interface BlockPraos {
type: "praos";
era: "shelley" | "allegra" | "mary" | "alonzo" | "babbage";
era: "shelley" | "allegra" | "mary" | "alonzo" | "babbage" | "conway";
id: DigestBlake2B256;
ancestor: DigestBlake2B256 | GenesisHash;
nonce?: CertifiedVrf;
Expand Down Expand Up @@ -2004,6 +2006,23 @@ export interface SubmitTransactionFailureUnknownVoters {
)[];
};
}
/**
* Some proposals contain empty treasury withdrawals, which is pointless and a waste of resources.
*/
export interface SubmitTransactionFailureEmptyTreasuryWithdrawal {
code: 3168;
message: string;
}
/**
* A transaction was rejected due to custom rules that prevented it from entering the mempool. A justification is given as 'data.error'.
*/
export interface SubmitTransactionFailureUnexpectedMempoolError {
code: 3997;
message: string;
data: {
[k: string]: unknown;
};
}
/**
* Unrecognized certificate type. This error is a placeholder due to how internal data-types are modeled. If you ever run into this, please report the issue as you've likely discoverd a critical bug...
*/
Expand Down Expand Up @@ -2500,7 +2519,7 @@ export interface GovernanceProposalState {
until: {
epoch: Epoch;
};
votes?: GovernanceVote[];
votes: GovernanceVote[];
}
/**
* Query the current distribution of the stake across all known stake pools, relative to the TOTAL stake in the network.
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.5"

services:
cardano-node:
image: ghcr.io/intersectmbo/cardano-node:9.2.0
image: ghcr.io/intersectmbo/cardano-node:10.1.2
command: [
"run",
"--config", "/config/config.json",
Expand Down
2 changes: 1 addition & 1 deletion docs/content/api/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
title = "WebSocket API Reference (v6.8.*)"
title = "WebSocket API Reference (v6.9.*)"
weight = 4
chapter = false
pre = "<b>4. </b>"
Expand Down
5 changes: 5 additions & 0 deletions docs/content/api/v6.8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = "Archive (v6.8.*)"
weight = 990
chapter = false
+++
6 changes: 5 additions & 1 deletion docs/content/mini-protocols/local-tx-submission.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,12 @@ components:
$ref: "/ogmios.json#/definitions/SubmitTransactionFailure/oneOf/67"
3167/UnknownVoters:
$ref: "/ogmios.json#/definitions/SubmitTransactionFailure/oneOf/68"
3168/EmptyTreasuryWithdrawal:
$ref: "/ogmios.json#/definitions/SubmitTransactionFailure/oneOf/69"
3997/UnexpectedMempoolError:
$ref: "/ogmios.json#/definitions/SubmitTransactionFailure/oneOf/70"
3998/UnrecognizedCertificateType:
$ref: "/ogmios.json#/definitions/SubmitTransactionFailure/oneOf/62"
$ref: "/ogmios.json#/definitions/SubmitTransactionFailure/oneOf/71"
{{% /embed-async-api %}}

## API Reference
Expand Down
2 changes: 1 addition & 1 deletion docs/static/api/specification.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
asyncapi: '2.4.0'
info:
title: Ogmios
version: '6.8.*'
version: '6.9.*'
description: |
### Protocols
Expand Down
Loading

0 comments on commit ef14391

Please sign in to comment.