Skip to content

Commit

Permalink
accounts/abi/bind/backend: use requested header for gas prices and ga…
Browse files Browse the repository at this point in the history
…s limits (ethereum#28280)
  • Loading branch information
gzliudan committed Jan 16, 2025
1 parent 093b83a commit c6ef8db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accounts/abi/bind/backends/simulated.go
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ func (b *SimulatedBackend) callContract(ctx context.Context, call ethereum.CallM
}
// Ensure message is initialized properly.
if call.Gas == 0 {
call.Gas = 50000000
call.Gas = 10 * head.GasLimit
}
if call.Value == nil {
call.Value = new(big.Int)
Expand Down

0 comments on commit c6ef8db

Please sign in to comment.