From e6679b1293f148d4f58f012201267c894363c22f Mon Sep 17 00:00:00 2001 From: mous <97399882+mouseless-eth@users.noreply.github.com> Date: Wed, 9 Oct 2024 16:22:56 +0100 Subject: [PATCH] Fix/overrides (#319) * deepHexlify before sending for check * fix --- src/rpc/rpcHandler.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rpc/rpcHandler.ts b/src/rpc/rpcHandler.ts index 27741a4c..57f2f2bd 100644 --- a/src/rpc/rpcHandler.ts +++ b/src/rpc/rpcHandler.ts @@ -58,6 +58,7 @@ import type { import { calcPreVerificationGas, calcVerificationGasAndCallGasLimit, + deepHexlify, getAAError, getNonceKeyAndValue, getUserOperationHash, @@ -557,7 +558,7 @@ export class RpcHandler implements IRpcEndpoint { entryPoint, queuedUserOperations, false, - stateOverrides + deepHexlify(stateOverrides) ) }