Skip to content

Commit

Permalink
Update to hedera-protobuf-java-api 0.16.0-alpha.3 (#2254)
Browse files Browse the repository at this point in the history
- Update to hedera-protobuf-java-api 0.16.0-alpha.3
- Add new response codes

Signed-off-by: Xin Li <xin.li@hedera.com>
  • Loading branch information
xin-hedera authored Jul 9, 2021
1 parent b82d07f commit 3ebcd13
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 13 deletions.
4 changes: 2 additions & 2 deletions hedera-mirror-importer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
<artifactId>caffeine</artifactId>
</dependency>
<dependency>
<groupId>com.github.hashgraph</groupId>
<artifactId>hedera-protobufs-java</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
@@ -0,0 +1,8 @@
-------------------
-- Add new response codes
-------------------

insert into t_transaction_results (result, proto_id)
values ('INVALID_TOKEN_MINT_METADATA', 248),
('INVALID_TOKEN_BURN_METADATA', 249),
('CURRENT_TREASURY_STILL_OWNS_NFTS', 250);
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,10 @@ values ('OK', 0),
('CUSTOM_SCHEDULE_ALREADY_HAS_NO_FEES', 244),
('CUSTOM_FEE_DENOMINATION_MUST_BE_FUNGIBLE_COMMON', 245),
('CUSTOM_FRACTIONAL_FEE_ONLY_ALLOWED_FOR_FUNGIBLE_COMMON', 246),
('INVALID_CUSTOM_FEE_SCHEDULE_KEY', 247);
('INVALID_CUSTOM_FEE_SCHEDULE_KEY', 247),
('INVALID_TOKEN_MINT_METADATA', 248),
('INVALID_TOKEN_BURN_METADATA', 249),
('CURRENT_TREASURY_STILL_OWNS_NFTS', 250);

-- t_transaction_types
insert into t_transaction_types (proto_id, name, entity_type)
Expand Down
4 changes: 2 additions & 2 deletions hedera-mirror-protobuf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
<artifactId>grpc-protobuf</artifactId>
</dependency>
<dependency>
<groupId>com.github.hashgraph</groupId>
<artifactId>hedera-protobufs-java</artifactId>
<groupId>com.hedera.hashgraph</groupId>
<artifactId>hedera-protobuf-java-api</artifactId>
<version>${hedera-protobuf.version}</version>
<exclusions>
<exclusion>
Expand Down
9 changes: 1 addition & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<grpc-spring-boot.version>2.11.0.RELEASE</grpc-spring-boot.version>
<grpc.version>1.39.0</grpc.version>
<guava.version>30.1.1-jre</guava.version>
<hedera-protobuf.version>8699be4</hedera-protobuf.version>
<hedera-protobuf.version>0.16.0-alpha.3</hedera-protobuf.version>
<hedera-sdk.version>2.0.8</hedera-sdk.version>
<jacoco.version>0.8.7</jacoco.version>
<java.version>11</java.version>
Expand Down Expand Up @@ -543,11 +543,4 @@
</build>
</profile>
</profiles>

<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
</project>

0 comments on commit 3ebcd13

Please sign in to comment.