Skip to content

Commit

Permalink
Update Rust SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor-N-Suadicani committed Jul 2, 2024
1 parent cd72620 commit e877132
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 5 deletions.
1 change: 1 addition & 0 deletions chain-prometheus-exporter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## Unreleased changes
- Updated the Concordium Rust SDK to support the changes introduced in protocol 7.

## 1.1.2

Expand Down
3 changes: 3 additions & 0 deletions generator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## Unreleased changes
- Updated the Concordium Rust SDK to support the changes introduced in protocol 7.

## 1.1.1

Stop `wccd` mode from minting to everyone faster than the specified TPS.
Expand Down
3 changes: 2 additions & 1 deletion genesis-creator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Unreleased
## Unreleased changes

- Support genesis data format of protocol version 7.
- Updated the Concordium Rust SDK to support the changes introduced in protocol 7.

## 0.2.0

Expand Down
2 changes: 1 addition & 1 deletion genesis-creator/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ pub struct Level2UpdateConfig {
}

impl Level2UpdateConfig {
pub fn access_structure(self, ctx: &Vec<UpdatePublicKey>) -> anyhow::Result<AccessStructure> {
pub fn access_structure(self, ctx: &[UpdatePublicKey]) -> anyhow::Result<AccessStructure> {
let num_given_keys = self.authorized_keys.len();
let authorized_keys: BTreeSet<_> = self.authorized_keys.into_iter().collect();
ensure!(
Expand Down
1 change: 1 addition & 0 deletions kpi-tracker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog for the kpi-tracker service

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

## 2.0.0

Expand Down
2 changes: 1 addition & 1 deletion kpi-tracker/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ async fn process_payday_block(
let closed_pool_count = &closed_pool_count;
async move {
let pi = node.get_pool_info(block_ident, baker_id).await?.response;
let pool_info = pi.pool_info;
let pool_info = pi.active_baker_pool_status.expect("pool info missing").pool_info;
match pool_info.open_status {
OpenStatus::OpenForAll => open_pool_count.fetch_add(1, Ordering::AcqRel),
OpenStatus::ClosedForNew => {
Expand Down
3 changes: 2 additions & 1 deletion recover-id-object/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Unreleased
## Unreleased changes
- Updated the Concordium Rust SDK to support the changes introduced in protocol 7.

## 2.0.1

Expand Down
3 changes: 3 additions & 0 deletions state-compare/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog for the the state compare tool

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

## 1.1.1

- Reduce the amount of concurrency.
Expand Down

0 comments on commit e877132

Please sign in to comment.