Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

Commit

Permalink
PR fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zie1ony committed Jan 25, 2021
1 parent 814ef8e commit c180dbb
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/sdk/src/lib/CLValue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ class U256 extends NumberCoder {
return SimpleType.U256;
}

public static fromBytes(bytes: ByteArray): Result<U128> {
public static fromBytes(bytes: ByteArray): Result<U256> {
return fromBytesBigInt(bytes, 256);
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@types/react-router-dom": "^5.0.1",
"bootstrap": "^4.3.1",
"bootstrap-components": "^1.1.287",
"casper-client-sdk": "^1.0.10",
"casper-client-sdk": "file:./../sdk",
"change-case": "^4.1.1",
"chart.js": "^2.9.3",
"d3": "^5.9.7",
Expand Down
19 changes: 19 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5560,6 +5560,25 @@ caseless@~0.12.0:
resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=

"casper-client-sdk@file:./packages/sdk":
version "1.0.11"
dependencies:
"@ethersproject/bignumber" "^5.0.8"
"@ethersproject/bytes" "^5.0.5"
"@ethersproject/constants" "^5.0.5"
axios "^0.21.1"
blakejs "^1.1.0"
ethereum-cryptography "^0.1.3"
humanize-duration "^3.24.0"
jsbi "^3.1.2"
key-encoder "^2.0.3"
reflect-metadata "^0.1.13"
rpc-client-js "^1.0.2"
rxjs "^6.5.3"
tweetnacl-ts "^1.0.3"
tweetnacl-util "^0.15.0"
typedjson "^1.6.0-rc2"

casper-client-sdk@latest:
version "1.0.8"
resolved "https://registry.yarnpkg.com/casper-client-sdk/-/casper-client-sdk-1.0.8.tgz#00efdee87e040677a39178311f0f6ad127f984a8"
Expand Down

0 comments on commit c180dbb

Please sign in to comment.