Skip to content

Commit 0438765

Browse files
authored
Merge pull request #1231 from input-output-hk/jpraynaud/update-dependencies-2023-09-18
Upgrade dependencies
2 parents 827216c + 669d18a commit 0438765

File tree

13 files changed

+1370
-1406
lines changed

13 files changed

+1370
-1406
lines changed

Cargo.lock

Lines changed: 159 additions & 297 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/protocol-demo/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mithrildemo"
3-
version = "0.1.19"
3+
version = "0.1.20"
44
authors = { workspace = true }
55
edition = { workspace = true }
66
documentation = { workspace = true }

docs/website/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mithril-doc",
3-
"version": "0.1.22",
3+
"version": "0.1.23",
44
"private": true,
55
"scripts": {
66
"docusaurus": "docusaurus",
@@ -35,4 +35,4 @@
3535
"last 1 safari version"
3636
]
3737
}
38-
}
38+
}

docs/website/yarn.lock

Lines changed: 613 additions & 559 deletions
Large diffs are not rendered by default.

mithril-aggregator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mithril-aggregator"
3-
version = "0.3.89"
3+
version = "0.3.90"
44
description = "A Mithril Aggregator server"
55
authors = { workspace = true }
66
edition = { workspace = true }

mithril-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mithril-client"
3-
version = "0.3.44"
3+
version = "0.3.45"
44
description = "A Mithril Client"
55
authors = { workspace = true }
66
edition = { workspace = true }

mithril-common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mithril-common"
3-
version = "0.2.112"
3+
version = "0.2.113"
44
authors = { workspace = true }
55
edition = { workspace = true }
66
documentation = { workspace = true }

mithril-common/src/entities/certificate_metadata.rs

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,18 @@ impl CertificateMetadata {
5757
let mut hasher = Sha256::new();
5858
hasher.update(self.protocol_version.as_bytes());
5959
hasher.update(self.protocol_parameters.compute_hash().as_bytes());
60-
hasher.update(self.initiated_at.timestamp_nanos().to_be_bytes());
61-
hasher.update(self.sealed_at.timestamp_nanos().to_be_bytes());
60+
hasher.update(
61+
self.initiated_at
62+
.timestamp_nanos_opt()
63+
.unwrap_or_default()
64+
.to_be_bytes(),
65+
);
66+
hasher.update(
67+
self.sealed_at
68+
.timestamp_nanos_opt()
69+
.unwrap_or_default()
70+
.to_be_bytes(),
71+
);
6272
self.signers
6373
.iter()
6474
.for_each(|signer| hasher.update(signer.compute_hash().as_bytes()));

mithril-explorer/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mithril-explorer",
3-
"version": "0.3.4",
3+
"version": "0.3.5",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",
@@ -13,8 +13,8 @@
1313
"dependencies": {
1414
"@popperjs/core": "^2.11.8",
1515
"@reduxjs/toolkit": "^1.9.5",
16-
"bootstrap": "^5.3.1",
17-
"bootstrap-icons": "^1.10.5",
16+
"bootstrap": "^5.3.2",
17+
"bootstrap-icons": "^1.11.1",
1818
"chart.js": "^4.4.0",
1919
"next": "^13.4.19",
2020
"react": "^18.2.0",
@@ -24,12 +24,12 @@
2424
"react-redux": "^8.1.2"
2525
},
2626
"devDependencies": {
27-
"@testing-library/jest-dom": "^6.1.2",
27+
"@testing-library/jest-dom": "^6.1.3",
2828
"@testing-library/react": "^14.0.0",
29-
"eslint": "^8.48.0",
29+
"eslint": "^8.49.0",
3030
"eslint-config-next": "^13.4.19",
31-
"jest": "^29.6.4",
32-
"jest-environment-jsdom": "^29.6.4",
31+
"jest": "^29.7.0",
32+
"jest-environment-jsdom": "^29.7.0",
3333
"next-router-mock": "^0.9.9"
3434
}
3535
}

0 commit comments

Comments
 (0)