Commit 17f8d0b0c260370c4b7e8406de2c84ce1586d3fa
update to package
wanderer committed on 3/29/2018, 1:54:32 AMParent: 46e04c98fc3dc5aa69dc36fe9176ddc702784118
Files changed
package-lock.json | changed |
package.json | changed |
tests/index.js | changed |
tests/wasm/counter.wasm | deleted |
package-lock.json | ||
---|---|---|
The diff is too large to show. Use a local git client to view these changes. Old file size: 197012 bytes New file size: 198276 bytes |
package.json | ||
---|---|---|
@@ -31,8 +31,9 @@ | ||
31 | 31 | "tape": "^4.9.0", |
32 | 32 | "wabt": "^1.0.0" |
33 | 33 | }, |
34 | 34 | "dependencies": { |
35 | + "borc": "^2.0.2", | |
35 | 36 | "primea-annotations": "0.0.2", |
36 | 37 | "primea-objects": "0.0.1", |
37 | 38 | "reference-map": "1.2.3", |
38 | 39 | "wasm-json-toolkit": "^0.2.3", |
tests/index.js | ||
---|---|---|
@@ -36,9 +36,8 @@ | ||
36 | 36 | |
37 | 37 | tape('basic', async t => { |
38 | 38 | t.plan(1) |
39 | 39 | tester = t |
40 | - const expectedState = Buffer.from('4494963fb0e02312510e675fbca8b60b6e03bd00', 'hex') | |
41 | 40 | |
42 | 41 | const tree = new RadixTree({ |
43 | 42 | db |
44 | 43 | }) |
@@ -58,16 +57,16 @@ | ||
58 | 57 | }).on('execution:error', e => { |
59 | 58 | console.log(e) |
60 | 59 | }) |
61 | 60 | hypervisor.send(message) |
62 | - const stateRoot = await hypervisor.createStateRoot() | |
61 | + // const stateRoot = await hypervisor.createStateRoot() | |
63 | 62 | // t.deepEquals(stateRoot, expectedState, 'expected root!') |
64 | 63 | }) |
65 | 64 | |
66 | 65 | tape('empty', async t => { |
67 | 66 | t.plan(1) |
68 | 67 | tester = t |
69 | - const expectedState = Buffer.from('aeb5418328108a82b7a2a57712bddc989d513f5d', 'hex') | |
68 | + const expectedState = Buffer.from('bb15867b26293aa36c774b8c82541dd64212ba9a', 'hex') | |
70 | 69 | |
71 | 70 | const tree = new RadixTree({ |
72 | 71 | db |
73 | 72 | }) |
Built with git-ssb-web