diff --git a/src/rpc/rpcHandler.ts b/src/rpc/rpcHandler.ts index a12a01a6..f9797a61 100644 --- a/src/rpc/rpcHandler.ts +++ b/src/rpc/rpcHandler.ts @@ -468,7 +468,7 @@ export class RpcHandler implements IRpcEndpoint { entryPoint, queuedUserOperations, true, - stateOverrides + deepHexlify({ ...stateOverrides }) ) let { verificationGasLimit, callGasLimit } = @@ -541,7 +541,7 @@ export class RpcHandler implements IRpcEndpoint { entryPoint, queuedUserOperations, false, - deepHexlify(stateOverrides) + deepHexlify({ ...stateOverrides }) ) } catch (err) { this.logger.error({ error: err }, "Second simulations fail")