diff --git a/pgeth/engine.go b/pgeth/engine.go index 8425371d89..2ba5ac9521 100644 --- a/pgeth/engine.go +++ b/pgeth/engine.go @@ -110,7 +110,7 @@ func (p *PluginEngine) Start(ctx context.Context) error { go func(_plug *Plugin) { defer func() { if err := recover(); err != nil { - p.logger.Error("Plugin crashed", "error", err, "plugin", _plug.Details.Name) + p.logger.Error(fmt.Sprintf("Plugin crashed, error: %v, plugin: %s", err, _plug.Details.Name)) // logs entire trace debug.PrintStack() } diff --git a/plugins/pgeth-monitoring/pkg/tracer/tracer.go b/plugins/pgeth-monitoring/pkg/tracer/tracer.go index ab763eabff..f8b8520510 100644 --- a/plugins/pgeth-monitoring/pkg/tracer/tracer.go +++ b/plugins/pgeth-monitoring/pkg/tracer/tracer.go @@ -130,6 +130,7 @@ func (m *MonitoringTracer) CaptureState(pc uint64, op vm.OpCode, gas, cost uint6 } if fetchSize < size { + fmt.Println("DEVNET DEBUG: add zeros ", size, fetchSize) data = addZeros(data, size-fetchSize) } @@ -180,6 +181,7 @@ func (m *MonitoringTracer) CaptureState(pc uint64, op vm.OpCode, gas, cost uint6 } if fetchSize < size { + fmt.Println("DEVNET DEBUG: add zeros ", size, fetchSize) data = addZeros(data, size-fetchSize) }