Skip to content

Commit

Permalink
Update all tool versions to support protocol 7 (#211)
Browse files Browse the repository at this point in the history
* Update Rust SDK to 5.0.0 release and get rid of warnings

* Bump versions

* Also bump notification server

* Bump ID-verifier too
  • Loading branch information
Victor-N-Suadicani authored Sep 12, 2024
1 parent b78b624 commit fff77e5
Show file tree
Hide file tree
Showing 29 changed files with 116 additions and 204 deletions.
2 changes: 1 addition & 1 deletion chain-prometheus-exporter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Unreleased changes
## 1.2.0
- Updated the Concordium Rust SDK to support the changes introduced in protocol 7.

## 1.1.2
Expand Down
12 changes: 6 additions & 6 deletions chain-prometheus-exporter/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion chain-prometheus-exporter/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "chain-prometheus-exporter"
version = "1.1.2"
version = "1.2.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion chain-prometheus-exporter/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ async fn main() -> anyhow::Result<()> {
tracing::info!("Tracking account {address} with label {label}.");
let opts = Opts::new(
format!("{label}_balance"),
&format!("Balance of account {address} in microCCD."),
format!("Balance of account {address} in microCCD."),
);
let gauge: GenericGauge<AtomicU64> = GenericGauge::with_opts(opts)?;
gauges.push((address, gauge.clone()));
Expand Down
10 changes: 5 additions & 5 deletions generator/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions generator/src/generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -740,13 +740,6 @@ struct RegisterCredentialsInitParams {
revocation_keys: Vec<CredentialHolderId>,
}

#[derive(concordium_std::Serial)]
struct RegisterCredentialParams {
credential_info: CredentialInfo,
#[concordium(size_length = 2)]
auxiliary_data: Vec<u8>,
}

impl RegisterCredentialsGenerator {
pub async fn instantiate(mut client: v2::Client, args: CommonArgs) -> anyhow::Result<Self> {
// Get the initial nonce.
Expand Down
2 changes: 1 addition & 1 deletion genesis-creator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Unreleased changes
## 0.3.0

- Support genesis data format of protocol version 7.
- Updated the Concordium Rust SDK to support the changes introduced in protocol 7.
Expand Down
12 changes: 6 additions & 6 deletions genesis-creator/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion genesis-creator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "genesis-creator"
version = "0.2.0"
version = "0.3.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
6 changes: 2 additions & 4 deletions genesis-creator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ fn crypto_parameters(
/// Function for creating the genesis identity providers. The arguments are
/// - idp_out - where to write the identity providers
/// - cfgs - A vector of configurations, each deciding whether to use an
/// existing identity provider or
/// to generate one or more freshly.
/// existing identity provider or to generate one or more freshly.
///
/// For each generated anonymity revoker, the private identity provider data
/// will be written to a file. The function returns a in a `anyhow::Result`,
Expand Down Expand Up @@ -177,8 +176,7 @@ fn identity_providers(
/// Function for creating the genesis anonymity revokers. The arguments are
/// - ars_out - where to write the anonymity revokers
/// - cfgs - A vector of configurations, each deciding whether to use an
/// existing anonymity revoker or
/// to generate one or more freshly.
/// existing anonymity revoker or to generate one or more freshly.
///
/// For each generated anonymity revoker, the private anonymity revoker data
/// will be written to a file. The function returns a in a `anyhow::Result`,
Expand Down
5 changes: 5 additions & 0 deletions id-verifier/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## 0.4.0
- Updated the Concordium Rust SDK to support the changes introduced in protocol 7.

## 0.3.0
*Prior versions not kept in changelog.*
12 changes: 6 additions & 6 deletions id-verifier/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions id-verifier/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "id-verifier"
version = "0.3.0"
version = "0.4.0"
authors = ["Concordium AG <[email protected]>"]
edition = "2021"
license-file = "../../LICENSE-APACHE"
Expand All @@ -23,5 +23,3 @@ rand = "0.8"

[dependencies.concordium-rust-sdk]
path = "../deps/concordium-rust-sdk/"


2 changes: 1 addition & 1 deletion kpi-tracker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog for the kpi-tracker service

## Unreleased changes
## 2.1.0
- Updated the Concordium Rust SDK to support the changes introduced in protocol 7.

## 2.0.0
Expand Down
12 changes: 6 additions & 6 deletions kpi-tracker/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions kpi-tracker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "concordium-kpi-tracker"
version = "2.0.0"
version = "2.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand All @@ -15,4 +15,4 @@ futures = "0.3"
log = "0.4"
tokio = { version = "1.23", features = ["rt-multi-thread", "signal"] }
tokio-postgres = "0.7"
tonic = {version = "0.10", features = ["tls", "tls-roots"]} # Use system trust roots.
tonic = {version = "0.10", features = ["tls", "tls-roots"]} # Use system trust roots.
5 changes: 5 additions & 0 deletions notification-server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## 0.3.0
- Updated the Concordium Rust SDK to support the changes introduced in protocol 7.

## 0.2.5
*Prior versions not kept in changelog.*
Loading

0 comments on commit fff77e5

Please sign in to comment.