From 0322a36ad58b755f4ae73d930700659a11c1c38d Mon Sep 17 00:00:00 2001 From: Leandro Date: Tue, 15 Mar 2022 17:53:52 -0700 Subject: [PATCH] Fix tests wrong import --- cypress/support/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/support/commands.js b/cypress/support/commands.js index 79f3388914..9d0d0b21ec 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -75,7 +75,7 @@ class CustomizedBridge extends Eip1193Bridge { // If from is present on eth_sendTransaction it errors, removing it makes the library set // from as the connected wallet which works fine delete params[0].from - const req = ethers.providers.JsonRpcProvider.hexlifyTransaction(params[0]) + const req = JsonRpcProvider.hexlifyTransaction(params[0]) // Hexlify sets the gasLimit property to be gas again and send transaction requires gasLimit req.gasLimit = req.gas delete req.gas