Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

Commit

Permalink
feat(sdk): reduce gas cost for sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
joeandrews committed Jul 16, 2020
1 parent e2e9448 commit d4c4e44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/extension/src/utils/Web3Service.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
},
Expand Down

0 comments on commit d4c4e44

Please sign in to comment.