From ec7ef9ca5b03f1d705e0c4bd4b7c016493d61933 Mon Sep 17 00:00:00 2001 From: Dat Luong Date: Tue, 9 Apr 2024 14:01:58 +0700 Subject: [PATCH] chore: add comment --- pkg/mev/pkg.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/mev/pkg.go b/pkg/mev/pkg.go index 0b8cb19..ab33010 100644 --- a/pkg/mev/pkg.go +++ b/pkg/mev/pkg.go @@ -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,