Skip to content

Commit

Permalink
chore: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
datluongductuan committed Apr 9, 2024
1 parent 89021a3 commit ec7ef9c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/mev/pkg.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ type IBundleSender interface {
}

type IGasBundleEstimator interface {
// EstimateBundleGas is used to estimate the gas for a bundle of transactions
// Note that this method is expected only works with custom ethereum node which
// supports estimate bundles gas via CallMsgs,
// and using eth_estimateGasBundle method.
EstimateBundleGas(
ctx context.Context,
messages []ethereum.CallMsg,
Expand Down

0 comments on commit ec7ef9c

Please sign in to comment.