|
|
@ -5,6 +5,7 @@ var localDecoder = require('../../../babelify-src/solidity/localDecoder') |
|
|
|
Decode local variable |
|
|
|
Decode local variable |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
function decodeLocal (st, index, traceManager, callTree, verifier) { |
|
|
|
function decodeLocal (st, index, traceManager, callTree, verifier) { |
|
|
|
|
|
|
|
try { |
|
|
|
traceManager.waterfall([ |
|
|
|
traceManager.waterfall([ |
|
|
|
traceManager.getStackAt, |
|
|
|
traceManager.getStackAt, |
|
|
|
traceManager.getMemoryAt], |
|
|
|
traceManager.getMemoryAt], |
|
|
@ -17,6 +18,9 @@ function decodeLocal (st, index, traceManager, callTree, verifier) { |
|
|
|
st.fail(error) |
|
|
|
st.fail(error) |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
} catch (e) { |
|
|
|
|
|
|
|
st.fail(e.message) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
module.exports = { |
|
|
|
module.exports = { |
|
|
|