diff --git a/log/handler.go b/log/handler.go index 3f7027fc74..655e33c114 100644 --- a/log/handler.go +++ b/log/handler.go @@ -277,13 +277,13 @@ func builtinReplace(_ []string, attr slog.Attr) slog.Attr { if v == nil { attr.Value = slog.AnyValue("") } else { - attr.Value = slog.AnyValue(formatLogfmtBigInt(v)) + attr.Value = slog.AnyValue(v.String()) } case *uint256.Int: if v == nil { attr.Value = slog.AnyValue("") } else { - attr.Value = slog.AnyValue(formatLogfmtUint256(v)) + attr.Value = slog.AnyValue(v.ToBig().String()) } } return attr