From 718a3a5f8bf7d9b04a344b7b55d22d9977e5f577 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Wed, 21 Aug 2024 14:55:35 +0530 Subject: [PATCH] fix test --- libs/remix-debug/test/decoder/localsTests/structArray.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/remix-debug/test/decoder/localsTests/structArray.ts b/libs/remix-debug/test/decoder/localsTests/structArray.ts index 9a13cd5ffd..e10061fc70 100644 --- a/libs/remix-debug/test/decoder/localsTests/structArray.ts +++ b/libs/remix-debug/test/decoder/localsTests/structArray.ts @@ -42,7 +42,7 @@ module.exports = function (st, privateKey, contractBytecode, compilationResult,c st.fail(error) }) callTree.event.register('callTreeReady', (scopes, scopeStarts) => { - helper.decodeLocals(st, 1600, traceManager, callTree, function (locals) { + helper.decodeLocals(st, 1615, traceManager, callTree, function (locals) { try { console.log('at 1600', locals) st.equals(locals['bytesSimple'].length, '0x14') @@ -103,7 +103,7 @@ module.exports = function (st, privateKey, contractBytecode, compilationResult,c st.equals(locals['arrayStruct'].value.b.value[0].value, '34') st.equals(locals['arrayStruct'].value.b.value[1].value, '-23') st.equals(locals['arrayStruct'].value.b.value[2].value, '-3') - st.equals(locals['arrayStruct'].value.c.value, 'one') + st.equals(locals['arrayStruct'].value.c.value, 'three') st.equals(Object.keys(locals).length, 8) } catch (e) {