From 1aa30e52c093e69247ccccaf86eb7ba20ad8b58e Mon Sep 17 00:00:00 2001 From: acolytec3 <17355484+acolytec3@users.noreply.github.com> Date: Mon, 5 Dec 2022 16:04:58 -0500 Subject: [PATCH] Fix other broken test --- packages/client/test/rpc/eth/sendRawTransaction.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/client/test/rpc/eth/sendRawTransaction.spec.ts b/packages/client/test/rpc/eth/sendRawTransaction.spec.ts index 39ec8bb736..61402325b5 100644 --- a/packages/client/test/rpc/eth/sendRawTransaction.spec.ts +++ b/packages/client/test/rpc/eth/sendRawTransaction.spec.ts @@ -155,6 +155,9 @@ tape(`${method}: call with no peers`, async (t) => { const originalSetStateRoot = DefaultStateManager.prototype.setStateRoot DefaultStateManager.prototype.setStateRoot = (): any => {} const originalStateManagerCopy = DefaultStateManager.prototype.copy + DefaultStateManager.prototype.copy = function () { + return this + } const common = new Common({ chain: Chain.Mainnet, hardfork: Hardfork.London }) const syncTargetHeight = common.hardforkBlock(Hardfork.London)