Skip to content

Commit

Permalink
Changed aergo protobuf to recent version. (#18)
Browse files Browse the repository at this point in the history
- MULTICALL
- sourceHash(deploy contract of Hardfork V4)
- internal operations
  • Loading branch information
hayarobi authored Jan 3, 2025
1 parent a102b72 commit 66dcf81
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion core/common/src/main/java/hera/api/model/Transaction.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ public enum TxType {
FEE_DELEGATION(3),
TRANSFER(4),
CALL(5),
DEPLOY(6);
DEPLOY(6),
MULTICALL(7);

@Getter
private final int intValue;
Expand Down
2 changes: 1 addition & 1 deletion core/protobuf/src/main
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public Blockchain.TxType apply(final Transaction.TxType domainTxType) {
return Blockchain.TxType.CALL;
case DEPLOY:
return Blockchain.TxType.DEPLOY;
case MULTICALL:
return Blockchain.TxType.MULTICALL;
default:
return Blockchain.TxType.UNRECOGNIZED;
}
Expand Down Expand Up @@ -68,6 +70,8 @@ public TxType apply(Blockchain.TxType rpcTxType) {
return Transaction.TxType.CALL;
case DEPLOY:
return Transaction.TxType.DEPLOY;
case MULTICALL:
return Transaction.TxType.MULTICALL;
default:
return Transaction.TxType.UNRECOGNIZED;
}
Expand Down

0 comments on commit 66dcf81

Please sign in to comment.