From d4c4e44d5eae5043c9e44b9c66f255042a855563 Mon Sep 17 00:00:00 2001 From: Joe Andrews Date: Thu, 16 Jul 2020 14:06:59 +0100 Subject: [PATCH] feat(sdk): reduce gas cost for sdk --- packages/extension/src/utils/Web3Service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/extension/src/utils/Web3Service.js b/packages/extension/src/utils/Web3Service.js index af65beb17..20b527248 100644 --- a/packages/extension/src/utils/Web3Service.js +++ b/packages/extension/src/utils/Web3Service.js @@ -390,7 +390,7 @@ class Web3Service { method: gsnContract.methods[methodName], fromAddress: signingInfo.address, args, - gasPrice: gasPrice ? gasPrice * 2 : 18000000000, // set gas price 100% higher than last few blocks median to ensure we get in the block + gasPrice: gasPrice ? gasPrice * 1 : 18000000000, // set gas price 100% higher than last few blocks median to ensure we get in the block web3, }); },