git ssb

0+

wanderer🌟 / js-primea-wasm-container



Commit 17f8d0b0c260370c4b7e8406de2c84ce1586d3fa

update to package

wanderer committed on 3/29/2018, 1:54:32 AM
Parent: 46e04c98fc3dc5aa69dc36fe9176ddc702784118

Files changed

package-lock.jsonchanged
package.jsonchanged
tests/index.jschanged
tests/wasm/counter.wasmdeleted
package-lock.jsonView
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.jsonView
@@ -31,8 +31,9 @@
3131 "tape": "^4.9.0",
3232 "wabt": "^1.0.0"
3333 },
3434 "dependencies": {
35+ "borc": "^2.0.2",
3536 "primea-annotations": "0.0.2",
3637 "primea-objects": "0.0.1",
3738 "reference-map": "1.2.3",
3839 "wasm-json-toolkit": "^0.2.3",
tests/index.jsView
@@ -36,9 +36,8 @@
3636
3737 tape('basic', async t => {
3838 t.plan(1)
3939 tester = t
40- const expectedState = Buffer.from('4494963fb0e02312510e675fbca8b60b6e03bd00', 'hex')
4140
4241 const tree = new RadixTree({
4342 db
4443 })
@@ -58,16 +57,16 @@
5857 }).on('execution:error', e => {
5958 console.log(e)
6059 })
6160 hypervisor.send(message)
62- const stateRoot = await hypervisor.createStateRoot()
61+ // const stateRoot = await hypervisor.createStateRoot()
6362 // t.deepEquals(stateRoot, expectedState, 'expected root!')
6463 })
6564
6665 tape('empty', async t => {
6766 t.plan(1)
6867 tester = t
69- const expectedState = Buffer.from('aeb5418328108a82b7a2a57712bddc989d513f5d', 'hex')
68+ const expectedState = Buffer.from('bb15867b26293aa36c774b8c82541dd64212ba9a', 'hex')
7069
7170 const tree = new RadixTree({
7271 db
7372 })
tests/wasm/counter.wasmView
@@ -1,4 +1,0 @@
1-asm`pmemory increment
2- 
3-A( Aj
4-A 

Built with git-ssb-web