Skip to content

Commit

Permalink
chore: put a buffer for gas fee
Browse files Browse the repository at this point in the history
  • Loading branch information
renlulu committed Oct 29, 2024
1 parent 3ed9c57 commit 2dfbb6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rollup/rollup_creator.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (r *RollupCreator) CreateRollup(
return nil, err
}
r.opts.Nonce = big.NewInt(int64(nonce))
r.opts.GasPrice = suggestedGasPrice
r.opts.GasPrice = new(big.Int).Mul(suggestedGasPrice, big.NewInt(2))
r.opts.Value = value
r.opts.GasLimit = gasLimit

Expand Down

0 comments on commit 2dfbb6d

Please sign in to comment.