Skip to content

Commit

Permalink
release: v2.44.0 (#2078)
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Ivanov <[email protected]>
  • Loading branch information
0xivanov authored Nov 12, 2024
1 parent a6369b9 commit 278a2e9
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 35 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 2.44.0

### Fixed
- Do not shut down externally provided executor
- Fix `IllegalStateException` when specific node id is not present in address book

## 2.43.0

### Changed
Expand Down
2 changes: 1 addition & 1 deletion docs/android-app/android-app-quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ To get started with an Android project, you'll need to add the following **two**

1. **Hedera™ Java SDK:**
```groovy
implementation 'com.hedera.hashgraph:sdk:2.43.0'
implementation 'com.hedera.hashgraph:sdk:2.44.0'
```

2. **gRPC implementation:**
Expand Down
4 changes: 2 additions & 2 deletions docs/java-app/java-app-quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ To get started with a Java project, you'll need to add the following **three** d

_Gradle:_
```groovy
implementation 'com.hedera.hashgraph:sdk:2.43.0'
implementation 'com.hedera.hashgraph:sdk:2.44.0'
```

_Maven:_
```xml
<dependency>
<groupId>com.hedera.hashgraph</groupId>
<artifactId>sdk</artifactId>
<version>2.43.0</version>
<version>2.44.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion example-android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ dependencies {
implementation(platform("com.hedera.hashgraph:sdk-dependency-versions"))
// ---------------------------------------------

implementation("com.hedera.hashgraph:sdk:2.43.0")
implementation("com.hedera.hashgraph:sdk:2.44.0")

implementation("com.google.android.material:material:1.11.0")

Expand Down
4 changes: 2 additions & 2 deletions examples/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ mainModuleInfo {
}

dependencies.constraints {
implementation("com.hedera.hashgraph:sdk:2.43.0")
implementation("com.hedera.hashgraph:sdk-full:2.43.0")
implementation("com.hedera.hashgraph:sdk:2.44.0")
implementation("com.hedera.hashgraph:sdk-full:2.44.0")
}
37 changes: 11 additions & 26 deletions sdk/src/main/proto/address_book_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -83,33 +83,19 @@ import "transaction.proto";
* be active in the network following this upgrade.
*
* ### For a node update transaction.
* - The node operator or Hedera council representative SHALL create an
* `updateNode` transaction.
* - If the node operator creates the transaction
* - The node operator MUST sign this transaction with the active `key`
* for the account assigned as the current "node account".
* - If the transaction changes the value of the "node account" the
* node operator MUST _also_ sign this transaction with the active `key`
* for the account to be assigned as the new "node account".
* - The node operator SHALL submit the transaction to the
* network. Hedera council approval SHALL NOT be sought for this
* transaction
* - If the Hedera council representative creates the transaction
* - The Hedera council representative SHALL arrange for council members
* to review and sign the transaction.
* - Once sufficient council members have signed the transaction, the
* Hedera council representative SHALL submit the transaction to the
* network.
* - The node operator SHALL create an `updateNode` transaction.
* - The node operator MUST sign this transaction with the active `key`
* assigned as the `admin_key`.
* - The node operator SHALL submit the transaction to the
* network. Hedera council approval SHALL NOT be sought for this
* transaction
* - Upon receipt of a valid and signed node update transaction the network
* software SHALL
* - If the transaction is signed by the Hedera governing council
* - Validate the threshold signature for the Hedera governing council
* - If the transaction is signed by the active `key` for the node account
* - Validate the signature of the active `key` for the account assigned
* as the "node account".
* - If the transaction modifies the value of the "node account",
* - Validate the signature of the _new_ `key` for the account to be
* assigned as the new "node account".
* - Validate the signature of the active `key` for the account
* assigned as the _current_ "node account".
* - Validate the signature of the active `key` for the account to be
* assigned as the _new_ "node account".
* - Modify the node information held in network state with the changes
* requested in the update transaction. The node changes SHALL NOT be
* applied to network configuration, and SHALL NOT affect network
Expand Down Expand Up @@ -151,8 +137,7 @@ service AddressBookService {
* This transaction, once complete, SHALL modify the identified consensus
* node state as requested.
* <p>
* This transaction MAY be authorized by either the node operator OR the
* Hedera governing council.
* This transaction is authorized by the node operator
*/
rpc updateNode (proto.Transaction) returns (proto.TransactionResponse);
}
28 changes: 26 additions & 2 deletions sdk/src/main/proto/block_stream_info.proto
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ package com.hedera.hapi.node.state.blockstream;
*/

import "timestamp.proto";
import "basic_types.proto";

option java_package = "com.hedera.hashgraph.sdk.proto";
// <<<pbj.java_package = "com.hedera.hapi.node.state.blockstream">>> This comment is special code for setting PBJ Compiler java package
Expand All @@ -49,7 +50,7 @@ option java_multiple_files = true;
* _each_ block, but MUST be updated at the beginning of the _next_ block.<br/>
* This value SHALL contain the block hash up to, and including, the
* immediately prior completed block.<br/>
* The state change to update this singleton MUST be the last "output"
* The state change to update this singleton MUST be the last
* block item in this block.
*/
message BlockStreamInfo {
Expand All @@ -73,7 +74,7 @@ message BlockStreamInfo {
* A concatenation of hash values.<br/>
* This combines several trailing output block item hashes and
* is used as a seed value for a pseudo-random number generator.<br/>
* This is also requiried to implement the EVM `PREVRANDAO` opcode.
* This is also required to implement the EVM `PREVRANDAO` opcode.<br/>
* This MUST contain at least 256 bits of entropy.
*/
bytes trailing_output_hashes = 3;
Expand Down Expand Up @@ -131,4 +132,27 @@ message BlockStreamInfo {
* the current block.
*/
proto.Timestamp block_end_time = 9;

/**
* Whether the post-upgrade work has been done.
* <p>
* This MUST be false if and only if the network just restarted
* after an upgrade and has not yet done the post-upgrade work.
*/
bool post_upgrade_work_done = 10;

/**
* A version describing the version of application software.
* <p>
* This SHALL be the software version that created this block.
*/
proto.SemanticVersion creation_software_version = 11;

/**
* The time stamp at which the last interval process was done.
* <p>
* This field SHALL hold the consensus time for the last time
* at which an interval of time-dependent events were processed.
*/
proto.Timestamp last_interval_process_time = 12;
}
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.43.0
2.44.0

0 comments on commit 278a2e9

Please sign in to comment.