Skip to content

Commit

Permalink
fix(schema-type): fix byte lengths for uint64/int64 (#1175)
Browse files Browse the repository at this point in the history
  • Loading branch information
holic authored Jul 18, 2023
1 parent 9cdcd02 commit f03531d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/rare-planes-draw.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@latticexyz/schema-type": patch
---

Fix byte lengths for `uint64` and `int64`.
4 changes: 2 additions & 2 deletions packages/schema-type/src/typescript/staticAbiTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const staticAbiTypeToByteLength = {
uint40: 5,
uint48: 6,
uint56: 7,
uint64: 9,
uint64: 8,
uint72: 9,
uint80: 10,
uint88: 11,
Expand Down Expand Up @@ -155,7 +155,7 @@ export const staticAbiTypeToByteLength = {
int40: 5,
int48: 6,
int56: 7,
int64: 9,
int64: 8,
int72: 9,
int80: 10,
int88: 11,
Expand Down

0 comments on commit f03531d

Please sign in to comment.