Skip to content

Commit

Permalink
fix: generate protos for js
Browse files Browse the repository at this point in the history
  • Loading branch information
Farhad-Shabani committed Nov 3, 2023
1 parent e0efa1a commit 819c71f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion js/src/generated/codecimpl.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export namespace ics23 {
NO_HASH = 0,
SHA256 = 1,
SHA512 = 2,
KECCAK = 3,
KECCAK256 = 3,
RIPEMD160 = 4,
BITCOIN = 5,
SHA512_256 = 6,
Expand Down
14 changes: 7 additions & 7 deletions js/src/generated/codecimpl.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $root.ics23 = (function() {
* @property {number} NO_HASH=0 NO_HASH value
* @property {number} SHA256=1 SHA256 value
* @property {number} SHA512=2 SHA512 value
* @property {number} KECCAK=3 KECCAK value
* @property {number} KECCAK256=3 KECCAK256 value
* @property {number} RIPEMD160=4 RIPEMD160 value
* @property {number} BITCOIN=5 BITCOIN value
* @property {number} SHA512_256=6 SHA512_256 value
Expand All @@ -35,7 +35,7 @@ $root.ics23 = (function() {
values[valuesById[0] = "NO_HASH"] = 0;
values[valuesById[1] = "SHA256"] = 1;
values[valuesById[2] = "SHA512"] = 2;
values[valuesById[3] = "KECCAK"] = 3;
values[valuesById[3] = "KECCAK256"] = 3;
values[valuesById[4] = "RIPEMD160"] = 4;
values[valuesById[5] = "BITCOIN"] = 5;
values[valuesById[6] = "SHA512_256"] = 6;
Expand Down Expand Up @@ -1238,7 +1238,7 @@ $root.ics23 = (function() {
case 2:
message.hash = 2;
break;
case "KECCAK":
case "KECCAK256":
case 3:
message.hash = 3;
break;
Expand Down Expand Up @@ -1268,7 +1268,7 @@ $root.ics23 = (function() {
case 2:
message.prehashKey = 2;
break;
case "KECCAK":
case "KECCAK256":
case 3:
message.prehashKey = 3;
break;
Expand Down Expand Up @@ -1298,7 +1298,7 @@ $root.ics23 = (function() {
case 2:
message.prehashValue = 2;
break;
case "KECCAK":
case "KECCAK256":
case 3:
message.prehashValue = 3;
break;
Expand Down Expand Up @@ -1633,7 +1633,7 @@ $root.ics23 = (function() {
case 2:
message.hash = 2;
break;
case "KECCAK":
case "KECCAK256":
case 3:
message.hash = 3;
break;
Expand Down Expand Up @@ -2301,7 +2301,7 @@ $root.ics23 = (function() {
case 2:
message.hash = 2;
break;
case "KECCAK":
case "KECCAK256":
case 3:
message.hash = 3;
break;
Expand Down

0 comments on commit 819c71f

Please sign in to comment.