Skip to content

Commit

Permalink
Fix gas required for private transaction to 23992
Browse files Browse the repository at this point in the history
  • Loading branch information
iikirilov committed Jul 11, 2019
1 parent 242f895 commit bb246c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public String build(final TransactionType type) {
PrivateTransaction.builder()
.nonce(nonce)
.gasPrice(Wei.of(1000))
.gasLimit(63992)
.gasLimit(23992)
.to(to)
.value(Wei.ZERO)
.payload(payload)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public void setPrivateTransactionProcessor(

@Override
public Gas gasRequirement(final BytesValue input) {
return Gas.of(40_000L); // Not sure
return Gas.of(0);
}

@Override
Expand Down

0 comments on commit bb246c4

Please sign in to comment.