Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

Commit

Permalink
raise gas limit for only contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
tayvano committed Jul 28, 2016
1 parent 39b5acb commit 879ec7c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/scripts/controllers/sendTxCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ var sendTxCtrl = function($scope, $sce, walletService) {
var txData = uiFuncs.getTxData($scope);
if($scope.tx.sendMode!=0){
txData.to = $scope.replayContract;
txData.gasLimit = 150000;
txData.gasLimit = 300000;
if($scope.tx.sendMode==1) txData.data = $scope.splitHex + ethFuncs.padLeft(ethFuncs.getNakedAddress($scope.tx.to), 64) + ethFuncs.padLeft(ethFuncs.getNakedAddress(txData.from), 64);
else if($scope.tx.sendMode==2) txData.data = $scope.splitHex + ethFuncs.padLeft(ethFuncs.getNakedAddress(txData.from), 64) + ethFuncs.padLeft(ethFuncs.getNakedAddress($scope.tx.to), 64);
}
Expand Down
2 changes: 1 addition & 1 deletion chrome-extension/js/etherwallet-master-min.js
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ var sendTxCtrl = function($scope, $sce, walletService) {
var txData = uiFuncs.getTxData($scope);
if($scope.tx.sendMode!=0){
txData.to = $scope.replayContract;
txData.gasLimit = 150000;
txData.gasLimit = 300000;
if($scope.tx.sendMode==1) txData.data = $scope.splitHex + ethFuncs.padLeft(ethFuncs.getNakedAddress($scope.tx.to), 64) + ethFuncs.padLeft(ethFuncs.getNakedAddress(txData.from), 64);
else if($scope.tx.sendMode==2) txData.data = $scope.splitHex + ethFuncs.padLeft(ethFuncs.getNakedAddress(txData.from), 64) + ethFuncs.padLeft(ethFuncs.getNakedAddress($scope.tx.to), 64);
}
Expand Down
2 changes: 1 addition & 1 deletion chrome-extension/js/etherwallet-master.js
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ var sendTxCtrl = function($scope, $sce, walletService) {
var txData = uiFuncs.getTxData($scope);
if($scope.tx.sendMode!=0){
txData.to = $scope.replayContract;
txData.gasLimit = 150000;
txData.gasLimit = 300000;
if($scope.tx.sendMode==1) txData.data = $scope.splitHex + ethFuncs.padLeft(ethFuncs.getNakedAddress($scope.tx.to), 64) + ethFuncs.padLeft(ethFuncs.getNakedAddress(txData.from), 64);
else if($scope.tx.sendMode==2) txData.data = $scope.splitHex + ethFuncs.padLeft(ethFuncs.getNakedAddress(txData.from), 64) + ethFuncs.padLeft(ethFuncs.getNakedAddress($scope.tx.to), 64);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/js/etherwallet-master-min.js
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ var sendTxCtrl = function($scope, $sce, walletService) {
var txData = uiFuncs.getTxData($scope);
if($scope.tx.sendMode!=0){
txData.to = $scope.replayContract;
txData.gasLimit = 150000;
txData.gasLimit = 300000;
if($scope.tx.sendMode==1) txData.data = $scope.splitHex + ethFuncs.padLeft(ethFuncs.getNakedAddress($scope.tx.to), 64) + ethFuncs.padLeft(ethFuncs.getNakedAddress(txData.from), 64);
else if($scope.tx.sendMode==2) txData.data = $scope.splitHex + ethFuncs.padLeft(ethFuncs.getNakedAddress(txData.from), 64) + ethFuncs.padLeft(ethFuncs.getNakedAddress($scope.tx.to), 64);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/js/etherwallet-master.js
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ var sendTxCtrl = function($scope, $sce, walletService) {
var txData = uiFuncs.getTxData($scope);
if($scope.tx.sendMode!=0){
txData.to = $scope.replayContract;
txData.gasLimit = 150000;
txData.gasLimit = 300000;
if($scope.tx.sendMode==1) txData.data = $scope.splitHex + ethFuncs.padLeft(ethFuncs.getNakedAddress($scope.tx.to), 64) + ethFuncs.padLeft(ethFuncs.getNakedAddress(txData.from), 64);
else if($scope.tx.sendMode==2) txData.data = $scope.splitHex + ethFuncs.padLeft(ethFuncs.getNakedAddress(txData.from), 64) + ethFuncs.padLeft(ethFuncs.getNakedAddress($scope.tx.to), 64);
}
Expand Down

0 comments on commit 879ec7c

Please sign in to comment.