Skip to content

Commit

Permalink
change default gas limit
Browse files Browse the repository at this point in the history
  • Loading branch information
colinlyguo committed Jan 22, 2024
1 parent 53f7872 commit 76cad9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ethapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1517,7 +1517,7 @@ func AccessList(ctx context.Context, b Backend, blockNrOrHash rpc.BlockNumberOrH
tmp := hexutil.Uint64(b.RPCGasCap())
args.Gas = &tmp
} else {
tmp := hexutil.Uint64(b.CurrentBlock().GasLimit)
tmp := hexutil.Uint64(math.MaxUint64 / 2)
args.Gas = &tmp
}
}
Expand Down

0 comments on commit 76cad9b

Please sign in to comment.