Skip to content

Commit

Permalink
Final protobuf & bump to v0.5.1-rc1 (#492)
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Sheehy <[email protected]>
  • Loading branch information
steven-sheehy authored Jan 9, 2020
1 parent 79da58e commit 85e968f
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 24 deletions.
3 changes: 1 addition & 2 deletions docs/design/hcs.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ message ConsensusTopicQuery {
message ConsensusTopicResponse {
.proto.Timestamp consensusTimestamp = 1; // The time at which the transaction reached consensus
bytes message = 2; // The message body originally in the ConsensusSubmitMessageTransactionBody. Message size will be less than 4K.
bytes message = 2; // The message body originally in the ConsensusSubmitMessageTransactionBody. Message size will be less than 6KiB.
bytes runningHash = 3; // The running hash (SHA384) of every message.
uint64 sequenceNumber = 4; // Starts at 1 for first submitted message. Incremented on each submitted message.
}
Expand Down Expand Up @@ -207,7 +207,6 @@ public class TransactionEvent {
- `INVALID_TOPIC_MESSAGE = 158`
- `INVALID_AUTORENEW_ACCOUNT = 159`
- `AUTORENEW_ACCOUNT_NOT_ALLOWED = 160`
- `AUTORENEW_ACCOUNT_SIGNATURE_MISSING = 161`
- `TOPIC_EXPIRED = 162`
- Add new table `topic_message`:

Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.hedera</groupId>
<artifactId>hedera-mirror-node</artifactId>
<version>0.5.0</version>
<version>0.5.1-rc1</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-datagenerator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.hedera</groupId>
<artifactId>hedera-mirror-node</artifactId>
<version>0.5.0</version>
<version>0.5.1-rc1</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-grpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.hedera</groupId>
<artifactId>hedera-mirror-node</artifactId>
<version>0.5.0</version>
<version>0.5.1-rc1</version>
</parent>

<dependencies>
Expand Down
2 changes: 2 additions & 0 deletions hedera-mirror-grpc/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ spring:
password: ${hedera.mirror.grpc.db.password}
url: r2dbc:postgresql://${hedera.mirror.grpc.db.host}:${hedera.mirror.grpc.db.port}/${hedera.mirror.grpc.db.name}?useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
username: ${hedera.mirror.grpc.db.username}
pool:
max-size: 25
6 changes: 3 additions & 3 deletions hedera-mirror-importer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>com.hedera</groupId>
<artifactId>hedera-mirror-node</artifactId>
<version>0.5.0</version>
<version>0.5.1-rc1</version>
</parent>

<properties>
Expand All @@ -27,8 +27,8 @@
<artifactId>caffeine</artifactId>
</dependency>
<dependency>
<groupId>com.github.hashgraph</groupId>
<artifactId>hedera-protobuf</artifactId>
<groupId>com.hedera.hashgraph</groupId>
<artifactId>hedera-protobuf-java-api</artifactId>
<version>${hedera-protobuf.version}</version>
<exclusions>
<exclusion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ insert into t_transaction_results (proto_id, result) values (157, 'UNAUTHORIZED'
insert into t_transaction_results (proto_id, result) values (158, 'INVALID_TOPIC_MESSAGE');
insert into t_transaction_results (proto_id, result) values (159, 'INVALID_AUTORENEW_ACCOUNT');
insert into t_transaction_results (proto_id, result) values (160, 'AUTORENEW_ACCOUNT_NOT_ALLOWED');
insert into t_transaction_results (proto_id, result) values (161, 'AUTORENEW_ACCOUNT_SIGNATURE_MISSING');
insert into t_transaction_results (proto_id, result) values (162, 'TOPIC_EXPIRED');
6 changes: 3 additions & 3 deletions hedera-mirror-protobuf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.hedera</groupId>
<artifactId>hedera-mirror-node</artifactId>
<version>0.5.0</version>
<version>0.5.1-rc1</version>
</parent>

<properties>
Expand All @@ -32,8 +32,8 @@
<version>${grpc.version}</version>
</dependency>
<dependency>
<groupId>com.github.hashgraph</groupId>
<artifactId>hedera-protobuf</artifactId>
<groupId>com.hedera.hashgraph</groupId>
<artifactId>hedera-protobuf-java-api</artifactId>
<version>${hedera-protobuf.version}</version>
<exclusions>
<exclusion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ message ConsensusTopicQuery {
message ConsensusTopicResponse {
.proto.Timestamp consensusTimestamp = 1; // The time at which the transaction reached consensus

// The message body originally in the ConsensusSubmitMessageTransactionBody. Message size will be less than 4K.
// The message body originally in the ConsensusSubmitMessageTransactionBody. Message size will be less than 6KiB.
bytes message = 2;

bytes runningHash = 3; // The running hash (SHA384) of every message.
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-rest/package-lock.json

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

2 changes: 1 addition & 1 deletion hedera-mirror-rest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hedera-mirror-rest",
"version": "0.5.0",
"version": "0.5.1-rc1",
"description": "Hedera Mirror Node REST API",
"main": "server.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion hedera-mirror-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.hedera</groupId>
<artifactId>hedera-mirror-node</artifactId>
<version>0.5.0</version>
<version>0.5.1-rc1</version>
</parent>

<build>
Expand Down
10 changes: 2 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.hedera</groupId>
<artifactId>hedera-mirror-node</artifactId>
<version>0.5.0</version>
<version>0.5.1-rc1</version>
<description>Hedera Mirror Node mirrors data from Hedera nodes and serves it via an API</description>
<inceptionYear>2019</inceptionYear>
<modelVersion>4.0.0</modelVersion>
Expand Down Expand Up @@ -56,7 +56,7 @@
<docker.repository>docker.pkg.github.com/hashgraph/hedera-mirror-node</docker.repository>
<grpc.version>1.25.0</grpc.version>
<guava.version>28.1-jre</guava.version>
<hedera-protobuf.version>hcs-4e1dd97dc6-1</hedera-protobuf.version>
<hedera-protobuf.version>0.4.0</hedera-protobuf.version>
<jacoco.version>0.8.5</jacoco.version>
<java.version>11</java.version>
<javax.version>1</javax.version>
Expand Down Expand Up @@ -154,10 +154,4 @@
</plugins>
</pluginManagement>
</build>
<repositories>
<repository>
<id>jitpack.io</id> <!-- Used for the com.github.hashgraph:hedera-protobuf HCS snapshots -->
<url>https://jitpack.io</url>
</repository>
</repositories>
</project>

0 comments on commit 85e968f

Please sign in to comment.