git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit 7cdddef81c118db3b188949697b28350cbe2e343

report errors

wanderer committed on 1/27/2017, 4:35:50 PM
Parent: f51dc0dfc7b37b0d369c1f9a552d6ab0e1129055

Files changed

tests/interfaceRunner.jschanged
tests/interfaceRunner.jsView
@@ -60,26 +60,25 @@
6060 value: fakeBlockChain
6161 }))
6262
6363 const message = new Message()
64- // message.from = new Address()
6564 message.to = ['accounts', envData.address, 'code']
6665 message.origin = new Address(envData.origin)
6766 message.data = new Buffer(envData.callData.slice(2), 'hex')
6867 message.value = new U256(envData.callValue)
6968 message.gas = 1000000
7069
7170 const callerState = await rootVertex.get(['accounts', envData.caller, 'code'])
7271 const caller = new Kernel({state: callerState})
73- // try {
72+ try {
7473 await caller.send(common.ROOT, message)
75- // } catch (e) {
76- // t.fail('Exception: ' + e)
77- // console.error('FAIL')
78- // console.error(e)
79- // } finally {
74+ } catch (e) {
75+ t.fail('Exception: ' + e)
76+ console.error('FAIL')
77+ console.error(e)
78+ } finally {
8079 t.pass(testName)
81- // }
80+ }
8281 t.end()
8382 })
8483 }
8584 }

Built with git-ssb-web