Skip to content
This repository was archived by the owner on Feb 14, 2021. It is now read-only.

Commit 33dfeea

Browse files
authored
Merge pull request #13 from paritytech/dp/chore/use-uint-instead-of-bigint
Use uint
2 parents 51d362d + 66040ec commit 33dfeea

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,24 @@ keywords = ["wasm", "parity", "ethereum", "blockchain"]
1212
categories = ["no-std", "embedded"]
1313

1414
[build-dependencies]
15-
parity-hash = { version = "1", default-features = false }
15+
parity-hash = { version = "1.2.2", default-features = false }
1616

1717
[dependencies]
1818
pwasm-std = "0.10"
1919

20-
[dependencies.bigint]
21-
version = "4"
20+
[dependencies.uint]
21+
version = "0.3"
2222
default-features = false
2323

2424
[dependencies.byteorder]
2525
version = "1"
2626
default-features = false
2727

2828
[dependencies.parity-hash]
29-
version = "1"
29+
version = "1.2.2"
3030
default-features = false
3131

3232
[features]
3333
default = []
3434
kip4 = []
35-
std = ["pwasm-std/std", "parity-hash/std", "bigint/std", "byteorder/std"]
35+
std = ["pwasm-std/std", "parity-hash/std", "uint/std", "byteorder/std"]

src/ext.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Safe wrapper around externalities invokes.
22
33
use hash::{H256, Address};
4-
use bigint::U256;
4+
use uint::U256;
55
use pwasm_std;
66

77
/// Generic wasm error

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
extern crate pwasm_std;
66
extern crate parity_hash as hash;
7-
extern crate bigint;
7+
extern crate uint;
88

99
mod ext;
1010
mod storage;

0 commit comments

Comments
 (0)