From 361b3cda25b7ccc317f633bc1f521e836ccbbbf0 Mon Sep 17 00:00:00 2001 From: ScottyPoi Date: Fri, 26 Jul 2024 13:54:09 -0600 Subject: [PATCH] update tests --- packages/client/test/rpc/eth/call.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/test/rpc/eth/call.spec.ts b/packages/client/test/rpc/eth/call.spec.ts index a2d7613d0e..5672647b35 100644 --- a/packages/client/test/rpc/eth/call.spec.ts +++ b/packages/client/test/rpc/eth/call.spec.ts @@ -102,14 +102,14 @@ describe(method, () => { 'latest', ]) assert.equal( - res.result, + res.error.data, bytesToHex(execResult.returnValue), 'should return the correct return value', ) res = await rpc.request(method, [{ ...estimateTxData }, 'latest']) assert.equal( - res.result, + res.error.data, bytesToHex(execResult.returnValue), 'should return the correct return value with no gas limit provided', )