Left comments on all PluGeth code injections

This commit is contained in:
philip-morlier
2022-04-04 15:40:56 -05:00
committed by Austin Roberts
parent 4211c5c401
commit fd0aaa1d6b
8 changed files with 22 additions and 3 deletions
+2
View File
@@ -881,7 +881,9 @@ func (api *API) traceTx(ctx context.Context, message core.Message, txctx *Contex
}
}
// Get the tracer from the plugin loader
//begin PluGeth code injection
if tr, ok := getPluginTracer(*config.Tracer); ok {
//end PluGeth code injection
tracer = tr(statedb, vmctx)
} else {
// Constuct the JavaScript tracer to execute with