Skip to content

Commit ac7e0ef

Browse files
Mr-Leshiyminikin
andauthored
feat(cat-gateway): Bump cat-libs versions to provide a proposal action document (#2112)
* Bump cat-libs versions to provide a proposal action document * fix * fix * wip --------- Co-authored-by: Oleksandr Prokhorenko <[email protected]>
1 parent 6fb1848 commit ac7e0ef

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

catalyst-gateway/bin/Cargo.toml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ repository.workspace = true
1515
workspace = true
1616

1717
[dependencies]
18-
cardano-chain-follower = { version = "0.0.8", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250325-00" }
19-
rbac-registration = { version = "0.0.4", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250325-00" }
20-
catalyst-types = { version = "0.0.3", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250325-00" }
21-
cardano-blockchain-types = { version = "0.0.3", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250325-00" }
22-
catalyst-signed-doc = { version = "0.0.4", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250325-00" }
23-
c509-certificate = { version = "0.0.3", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250325-00" }
18+
cardano-chain-follower = { version = "0.0.8", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250330-00" }
19+
rbac-registration = { version = "0.0.4", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250330-00" }
20+
catalyst-types = { version = "0.0.3", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250330-00" }
21+
cardano-blockchain-types = { version = "0.0.3", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250330-00" }
22+
catalyst-signed-doc = { version = "0.0.4", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250330-00" }
23+
c509-certificate = { version = "0.0.3", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250330-00" }
2424

2525
pallas = { version = "0.30.1", git = "https://github.com/input-output-hk/catalyst-pallas.git", rev = "9b5183c8b90b90fe2cc319d986e933e9518957b3" }
2626
pallas-traverse = { version = "0.30.1", git = "https://github.com/input-output-hk/catalyst-pallas.git", rev = "9b5183c8b90b90fe2cc319d986e933e9518957b3" }
@@ -66,7 +66,7 @@ futures = "0.3.31"
6666
rand = "0.8.5"
6767
moka = { version = "0.12.8", features = ["future"] }
6868
crossbeam-skiplist = "0.1.3"
69-
poem = { version = "3.1.6", features = ["embed", "prometheus", "compression"] }
69+
poem = { version = "=3.1.6", features = ["embed", "prometheus", "compression"] }
7070
poem-openapi = { version = "=5.1.5", features = [
7171
"openapi-explorer",
7272
"rapidoc",
@@ -104,6 +104,9 @@ x509-cert = "0.2.5"
104104
# Its a transitive dependency of the "poem-openapi" crate,
105105
# but its breaks API after version "5.1.8".
106106
poem-openapi-derive = { version = "=5.1.4" }
107+
# Its a transitive dependency of the "poem-openapi-derive" crate,
108+
# but its breaks API after version "0.20.11".
109+
darling = { version = "=0.20.10" }
107110

108111
[dev-dependencies]
109112
x509-cert = { version = "0.2.5", features = ["builder"] }
@@ -113,4 +116,4 @@ build-info-build = "0.0.39"
113116

114117
[package.metadata.cargo-machete]
115118
# remove that after fixing issues with latest crates
116-
ignored = ["poem-openapi-derive"]
119+
ignored = ["poem-openapi-derive", "darling"]

catalyst-gateway/tests/api_tests/Earthfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VERSION 0.8
22

33
IMPORT github.com/input-output-hk/catalyst-ci/earthly/python:v3.3.1 AS python-ci
4-
IMPORT github.com/input-output-hk/catalyst-libs/rust:r20250227-00 AS cat-libs-rust
4+
IMPORT github.com/input-output-hk/catalyst-libs/rust:r20250330-00 AS cat-libs-rust
55

66
builder:
77
FROM python-ci+python-base

catalyst-gateway/tests/api_tests/integration/test_signed_doc.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ def proposal_doc_factory(proposal_templates):
7070
def __proposal_doc_factory() -> SignedDocument:
7171
proposal_doc_id = uuid7str()
7272
proposal_metadata_json = {
73-
"alg": "EdDSA",
7473
"id": proposal_doc_id,
7574
"ver": proposal_doc_id,
7675
# Proposal document type
@@ -103,7 +102,6 @@ def __comment_doc_factory() -> SignedDocument:
103102
proposal_doc = proposal_doc_factory()
104103
comment_doc_id = uuid7str()
105104
comment_metadata_json = {
106-
"alg": "EdDSA",
107105
"id": comment_doc_id,
108106
"ver": comment_doc_id,
109107
# Comment document type

0 commit comments

Comments
 (0)