Skip to content

Commit

Permalink
Merge pull request #87 from aionnetwork/encoding-bug-fix
Browse files Browse the repository at this point in the history
Encoding bug fix
  • Loading branch information
K-White authored Feb 26, 2020
2 parents 2579651 + d8be104 commit de1dde9
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.2.6-beta.4",
"version": "1.2.6",
"lerna": "2.0.0",
"command": {
"init": {
Expand Down
75 changes: 75 additions & 0 deletions 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 packages/web3-avm-abi/src/coder.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class Writer {
// a total length of 64kb
writeLength(length) {
if (length > 0xffff) { throw new Error("length out of bounds"); }
return this.writeBytes([ (length >> 16), (length & 0xff) ]);
return this.writeBytes([ (length >> 8), (length & 0xff) ]);
}
}

Expand Down
2 changes: 1 addition & 1 deletion packages/web3-providers-ws/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dependencies": {
"aion-web3-core-helpers": "1.2.6-beta.6",
"underscore": "1.8.3",
"websocket": "git://github.com/frozeman/WebSocket-Node.git#browserifyCompatible"
"@web3-js/websocket": "^1.0.29"
},
"gitHead": "dd7ee9cfaba7316ff520c0e9ee1952c3538077d6"
}

0 comments on commit de1dde9

Please sign in to comment.