Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

Commit

Permalink
Merge branch 'main' of github.com:ChainSafe/ChainBridge into main
Browse files Browse the repository at this point in the history
  • Loading branch information
P1sar committed Sep 13, 2021
2 parents 6a8daa4 + bb1ebc9 commit b0aae86
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 14 deletions.
2 changes: 1 addition & 1 deletion connections/ethereum/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func (c *Connection) EstimateGasLondon(ctx context.Context, baseFee *big.Int) (*
var maxFeePerGas *big.Int

if c.maxGasPrice.Cmp(baseFee) < 0 {
maxPriorityFeePerGas = big.NewInt(1)
maxPriorityFeePerGas = big.NewInt(1000000000)
maxFeePerGas = new(big.Int).Add(c.maxGasPrice, maxPriorityFeePerGas)
return maxPriorityFeePerGas, maxFeePerGas, nil
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/ChainSafe/log15 v1.0.0
github.com/centrifuge/go-substrate-rpc-client v2.0.0+incompatible
github.com/deckarep/golang-set v1.7.1 // indirect
github.com/ethereum/go-ethereum v1.10.6
github.com/ethereum/go-ethereum v1.10.8
github.com/prometheus/client_golang v1.4.1
github.com/stretchr/testify v1.7.0
github.com/urfave/cli/v2 v2.3.0
Expand Down
Loading

0 comments on commit b0aae86

Please sign in to comment.