|
|
|
@ -30,7 +30,7 @@ module.exports = function (st, vm, privateKey, contractBytecode, compilationResu |
|
|
|
|
st.fail(error) |
|
|
|
|
}) |
|
|
|
|
callTree.event.register('callTreeReady', (scopes, scopeStarts) => { |
|
|
|
|
helper.decodeLocals(st, 73, traceManager, callTree, function (locals) { |
|
|
|
|
helper.decodeLocals(st, 70, traceManager, callTree, function (locals) { |
|
|
|
|
try { |
|
|
|
|
st.equals(locals['boolFalse'].value, false) |
|
|
|
|
st.equals(locals['boolTrue'].value, true) |
|
|
|
@ -46,9 +46,9 @@ module.exports = function (st, vm, privateKey, contractBytecode, compilationResu |
|
|
|
|
st.equals(locals['__bytes9'].value, '0x99156744AF00000000') |
|
|
|
|
st.equals(locals['__bytes13'].value, '0x99123423425300000000000000') |
|
|
|
|
st.equals(locals['__bytes16'].value, '0x99AFAD23432400000000000000000000') |
|
|
|
|
// st.equals(locals['__bytes24'].value, '0x99AFAD234324000000000000000000000000000000000000')
|
|
|
|
|
// st.equals(locals['__bytes32'].value, '0x9999ABD41799ABD4170000000000000000000000000000000000000000000000')
|
|
|
|
|
st.equals(Object.keys(locals).length, 14) |
|
|
|
|
st.equals(locals['__bytes24'].value, '0x99AFAD234324000000000000000000000000000000000000') |
|
|
|
|
st.equals(locals['__bytes32'].value, '0x9999ABD41799ABD4170000000000000000000000000000000000000000000000') |
|
|
|
|
st.equals(Object.keys(locals).length, 16) |
|
|
|
|
} catch (e) { |
|
|
|
|
st.fail(e.message) |
|
|
|
|
} |
|
|
|
|