Skip to content

Commit cfe6fd2

Browse files
committed
fix(sender): log msg on error
1 parent 2ecc42e commit cfe6fd2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

common/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"runtime/debug"
66
)
77

8-
var tag = "v4.7.5"
8+
var tag = "v4.7.6"
99

1010
var commit = func() string {
1111
if info, ok := debug.ReadBuildInfo(); ok {

rollup/internal/controller/sender/estimategas.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package sender
22

33
import (
44
"errors"
5+
"fmt"
56
"math/big"
67

78
"github.com/scroll-tech/go-ethereum"
@@ -118,7 +119,7 @@ func (s *Sender) estimateGasLimit(to *common.Address, data []byte, sidecar *type
118119

119120
gasLimitWithoutAccessList, err := s.client.EstimateGas(s.ctx, msg)
120121
if err != nil {
121-
log.Error("estimateGasLimit EstimateGas failure without access list", "error", err)
122+
log.Error("estimateGasLimit EstimateGas failure without access list", "error", err, "msg", fmt.Sprintf("%+v", msg))
122123
return 0, nil, err
123124
}
124125

0 commit comments

Comments
 (0)