erigon-pulse/cmd/rpcdaemon/commands/trace_api_adhoc.go
Thomas Jay Rush b437fab006
[WIP] Tracing enhancements (#1133)
* Adding some testdata for RPC tracing

* Adding command line option to allow switching trace export format

* Moved types into a separate file for clarity

* Added endpoints and stub functions for other trace routines

* Added experimental end points for issuance, blockReward, and uncleReward

* Moved supporting functions for filtering to _filtering file

* Moved Filter function to _filtering file

* Reordering functions for clarity

* Cleaning up

* Implemented trace_get - 7 of 8 tests pass

* Implemented trace_transaction - 2 of 8 tests pass

* Updating test cases

* Turning off lint temporarily. Will be turned back on

* Extended trace_filter (parity traces, reward traces) - 10 of 13 tests pass

* Implemented trace_block - 4 of 6 tests passed

* Cleanup test cases

* Added refundAddress and selfDestructedAddress to self destruct traces

* Total hack fix to missing gasUsed in some tests. Fixes tests, needs to be replaced
2020-09-25 13:12:36 +01:00

36 lines
1.0 KiB
Go

package commands
import (
"context"
)
// Call Implements trace_call
func (api *TraceAPIImpl) Call(ctx context.Context, req TraceFilterRequest) ([]interface{}, error) {
var stub []interface{}
return stub, nil
}
// CallMany Implements trace_call
func (api *TraceAPIImpl) CallMany(ctx context.Context, req TraceFilterRequest) ([]interface{}, error) {
var stub []interface{}
return stub, nil
}
// RawTransaction Implements trace_rawtransaction
func (api *TraceAPIImpl) RawTransaction(ctx context.Context, req TraceFilterRequest) ([]interface{}, error) {
var stub []interface{}
return stub, nil
}
// ReplayBlockTransactions Implements trace_replayBlockTransactions
func (api *TraceAPIImpl) ReplayBlockTransactions(ctx context.Context, req TraceFilterRequest) ([]interface{}, error) {
var stub []interface{}
return stub, nil
}
// ReplayTransaction Implements trace_replaytransactions
func (api *TraceAPIImpl) ReplayTransaction(ctx context.Context, req TraceFilterRequest) ([]interface{}, error) {
var stub []interface{}
return stub, nil
}