feat: Add trace transaction API (#12075)

* changelog for trace_transaction

* adding boilerplate for trace_transaction to /api/

* add eth trace transaction proxy and mock api

* trace tx boilerplate

* trace transaction implementation - under construction

* fix types for eth trace transaction

* trace_transaction implemented

* golint and handle transaction not found

* gofmt

* ran make docsgen

* pointer bugfix  and make docsgen

* tx.BlockNumber is nil when the transaction is still in the mpool/pending and there is no trace for pending transactions

* check eth trace transaction happy case and two error cases - tx not found and tx pending in itests

* simplify error msg check for gh action fail

---------

Co-authored-by: Michael Seiler <michaelseiler@Michaels-Laptop.local>
This commit is contained in:
Mikers 2024-06-07 08:14:34 -10:00 committed by GitHub
parent fb3fc1f342
commit 8f94aad42e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
17 changed files with 888 additions and 441 deletions

View File

@ -3,6 +3,8 @@
# UNRELEASED
## New features
- feat: Add trace transaction API supporting RPC method `trace_transaction` ([filecoin-project/lotus#12068](https://github.com/filecoin-project/lotus/pull/12068))
## Improvements

View File

@ -825,6 +825,9 @@ type FullNode interface {
// Replays all transactions in a block returning the requested traces for each transaction
EthTraceReplayBlockTransactions(ctx context.Context, blkNum string, traceTypes []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error) //perm:read
// Implmements OpenEthereum-compatible API method trace_transaction
EthTraceTransaction(ctx context.Context, txHash string) ([]*ethtypes.EthTraceTransaction, error) //perm:read
// CreateBackup creates node backup onder the specified file name. The
// method requires that the lotus daemon is running with the
// LOTUS_BACKUP_BASE_PATH environment variable set to some path, and that

View File

@ -132,6 +132,7 @@ type Gateway interface {
Web3ClientVersion(ctx context.Context) (string, error)
EthTraceBlock(ctx context.Context, blkNum string) ([]*ethtypes.EthTraceBlock, error)
EthTraceReplayBlockTransactions(ctx context.Context, blkNum string, traceTypes []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error)
EthTraceTransaction(ctx context.Context, txHash string) ([]*ethtypes.EthTraceTransaction, error)
GetActorEventsRaw(ctx context.Context, filter *types.ActorEventFilter) ([]*types.ActorEvent, error)
SubscribeActorEventsRaw(ctx context.Context, filter *types.ActorEventFilter) (<-chan *types.ActorEvent, error)

View File

@ -42,6 +42,7 @@ func CreateEthRPCAliases(as apitypes.Aliaser) {
as.AliasMethod("trace_block", "Filecoin.EthTraceBlock")
as.AliasMethod("trace_replayBlockTransactions", "Filecoin.EthTraceReplayBlockTransactions")
as.AliasMethod("trace_transaction", "Filecoin.EthTraceTransaction")
as.AliasMethod("net_version", "Filecoin.NetVersion")
as.AliasMethod("net_listening", "Filecoin.NetListening")

View File

@ -1107,6 +1107,21 @@ func (mr *MockFullNodeMockRecorder) EthTraceReplayBlockTransactions(arg0, arg1,
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EthTraceReplayBlockTransactions", reflect.TypeOf((*MockFullNode)(nil).EthTraceReplayBlockTransactions), arg0, arg1, arg2)
}
// EthTraceTransaction mocks base method.
func (m *MockFullNode) EthTraceTransaction(arg0 context.Context, arg1 string) ([]*ethtypes.EthTraceTransaction, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "EthTraceTransaction", arg0, arg1)
ret0, _ := ret[0].([]*ethtypes.EthTraceTransaction)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// EthTraceTransaction indicates an expected call of EthTraceTransaction.
func (mr *MockFullNodeMockRecorder) EthTraceTransaction(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EthTraceTransaction", reflect.TypeOf((*MockFullNode)(nil).EthTraceTransaction), arg0, arg1)
}
// EthUninstallFilter mocks base method.
func (m *MockFullNode) EthUninstallFilter(arg0 context.Context, arg1 ethtypes.EthFilterID) (bool, error) {
m.ctrl.T.Helper()

View File

@ -260,6 +260,8 @@ type FullNodeMethods struct {
EthTraceReplayBlockTransactions func(p0 context.Context, p1 string, p2 []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error) `perm:"read"`
EthTraceTransaction func(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, error) `perm:"read"`
EthUninstallFilter func(p0 context.Context, p1 ethtypes.EthFilterID) (bool, error) `perm:"read"`
EthUnsubscribe func(p0 context.Context, p1 ethtypes.EthSubscriptionID) (bool, error) `perm:"read"`
@ -690,6 +692,8 @@ type GatewayMethods struct {
EthTraceReplayBlockTransactions func(p0 context.Context, p1 string, p2 []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error) ``
EthTraceTransaction func(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, error) ``
EthUninstallFilter func(p0 context.Context, p1 ethtypes.EthFilterID) (bool, error) ``
EthUnsubscribe func(p0 context.Context, p1 ethtypes.EthSubscriptionID) (bool, error) ``
@ -2047,6 +2051,17 @@ func (s *FullNodeStub) EthTraceReplayBlockTransactions(p0 context.Context, p1 st
return *new([]*ethtypes.EthTraceReplayBlockTransaction), ErrNotSupported
}
func (s *FullNodeStruct) EthTraceTransaction(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, error) {
if s.Internal.EthTraceTransaction == nil {
return *new([]*ethtypes.EthTraceTransaction), ErrNotSupported
}
return s.Internal.EthTraceTransaction(p0, p1)
}
func (s *FullNodeStub) EthTraceTransaction(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, error) {
return *new([]*ethtypes.EthTraceTransaction), ErrNotSupported
}
func (s *FullNodeStruct) EthUninstallFilter(p0 context.Context, p1 ethtypes.EthFilterID) (bool, error) {
if s.Internal.EthUninstallFilter == nil {
return false, ErrNotSupported
@ -4346,6 +4361,17 @@ func (s *GatewayStub) EthTraceReplayBlockTransactions(p0 context.Context, p1 str
return *new([]*ethtypes.EthTraceReplayBlockTransaction), ErrNotSupported
}
func (s *GatewayStruct) EthTraceTransaction(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, error) {
if s.Internal.EthTraceTransaction == nil {
return *new([]*ethtypes.EthTraceTransaction), ErrNotSupported
}
return s.Internal.EthTraceTransaction(p0, p1)
}
func (s *GatewayStub) EthTraceTransaction(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, error) {
return *new([]*ethtypes.EthTraceTransaction), ErrNotSupported
}
func (s *GatewayStruct) EthUninstallFilter(p0 context.Context, p1 ethtypes.EthFilterID) (bool, error) {
if s.Internal.EthUninstallFilter == nil {
return false, ErrNotSupported

File diff suppressed because it is too large Load Diff

View File

@ -242,7 +242,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3777"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3792"
}
},
{
@ -473,7 +473,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3788"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3803"
}
},
{
@ -572,7 +572,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3799"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3814"
}
},
{
@ -604,7 +604,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3810"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3825"
}
},
{
@ -710,7 +710,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3821"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3836"
}
},
{
@ -803,7 +803,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3832"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3847"
}
},
{
@ -887,7 +887,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3843"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3858"
}
},
{
@ -987,7 +987,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3854"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3869"
}
},
{
@ -1043,7 +1043,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3865"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3880"
}
},
{
@ -1116,7 +1116,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3876"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3891"
}
},
{
@ -1189,7 +1189,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3887"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3902"
}
},
{
@ -1236,7 +1236,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3898"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3913"
}
},
{
@ -1268,7 +1268,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3909"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3924"
}
},
{
@ -1305,7 +1305,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3931"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3946"
}
},
{
@ -1352,7 +1352,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3942"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3957"
}
},
{
@ -1392,7 +1392,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3953"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3968"
}
},
{
@ -1439,7 +1439,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3964"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3979"
}
},
{
@ -1494,7 +1494,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3975"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3990"
}
},
{
@ -1523,7 +1523,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3986"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4001"
}
},
{
@ -1660,7 +1660,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L3997"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4012"
}
},
{
@ -1689,7 +1689,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4008"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4023"
}
},
{
@ -1743,7 +1743,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4019"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4034"
}
},
{
@ -1834,7 +1834,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4030"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4045"
}
},
{
@ -1862,7 +1862,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4041"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4056"
}
},
{
@ -1952,7 +1952,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4052"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4067"
}
},
{
@ -2208,7 +2208,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4063"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4078"
}
},
{
@ -2453,7 +2453,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4074"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4089"
}
},
{
@ -2509,7 +2509,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4085"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4100"
}
},
{
@ -2556,7 +2556,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4096"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4111"
}
},
{
@ -2654,7 +2654,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4107"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4122"
}
},
{
@ -2720,7 +2720,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4118"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4133"
}
},
{
@ -2786,7 +2786,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4129"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4144"
}
},
{
@ -2895,7 +2895,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4140"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4155"
}
},
{
@ -2953,7 +2953,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4151"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4166"
}
},
{
@ -3075,7 +3075,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4162"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4177"
}
},
{
@ -3267,7 +3267,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4173"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4188"
}
},
{
@ -3476,7 +3476,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4184"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4199"
}
},
{
@ -3567,7 +3567,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4195"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4210"
}
},
{
@ -3625,7 +3625,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4206"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4221"
}
},
{
@ -3883,7 +3883,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4217"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4232"
}
},
{
@ -4158,7 +4158,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4228"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4243"
}
},
{
@ -4186,7 +4186,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4239"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4254"
}
},
{
@ -4224,7 +4224,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4250"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4265"
}
},
{
@ -4332,7 +4332,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4261"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4276"
}
},
{
@ -4370,7 +4370,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4272"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4287"
}
},
{
@ -4399,7 +4399,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4283"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4298"
}
},
{
@ -4462,7 +4462,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4294"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4309"
}
},
{
@ -4525,7 +4525,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4305"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4320"
}
},
{
@ -4570,7 +4570,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4316"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4331"
}
},
{
@ -4692,7 +4692,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4327"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4342"
}
},
{
@ -4847,7 +4847,129 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4338"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4353"
}
},
{
"name": "Filecoin.EthTraceTransaction",
"description": "```go\nfunc (s *GatewayStruct) EthTraceTransaction(p0 context.Context, p1 string) ([]*ethtypes.EthTraceTransaction, error) {\n\tif s.Internal.EthTraceTransaction == nil {\n\t\treturn *new([]*ethtypes.EthTraceTransaction), ErrNotSupported\n\t}\n\treturn s.Internal.EthTraceTransaction(p0, p1)\n}\n```",
"summary": "There are not yet any comments for this method.",
"paramStructure": "by-position",
"params": [
{
"name": "p1",
"description": "string",
"summary": "",
"schema": {
"examples": [
"string value"
],
"type": [
"string"
]
},
"required": true,
"deprecated": false
}
],
"result": {
"name": "[]*ethtypes.EthTraceTransaction",
"description": "[]*ethtypes.EthTraceTransaction",
"summary": "",
"schema": {
"examples": [
[
{
"type": "string value",
"error": "string value",
"subtraces": 123,
"traceAddress": [
123
],
"action": {},
"result": {},
"blockHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e",
"blockNumber": 9,
"transactionHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e",
"transactionPosition": 123
}
]
],
"items": [
{
"additionalProperties": false,
"properties": {
"action": {
"additionalProperties": true,
"type": "object"
},
"blockHash": {
"items": {
"description": "Number is a number",
"title": "number",
"type": "number"
},
"maxItems": 32,
"minItems": 32,
"type": "array"
},
"blockNumber": {
"title": "number",
"type": "number"
},
"error": {
"type": "string"
},
"result": {
"additionalProperties": true,
"type": "object"
},
"subtraces": {
"title": "number",
"type": "number"
},
"traceAddress": {
"items": {
"description": "Number is a number",
"title": "number",
"type": "number"
},
"type": "array"
},
"transactionHash": {
"items": {
"description": "Number is a number",
"title": "number",
"type": "number"
},
"maxItems": 32,
"minItems": 32,
"type": "array"
},
"transactionPosition": {
"title": "number",
"type": "number"
},
"type": {
"type": "string"
}
},
"type": [
"object"
]
}
],
"type": [
"array"
]
},
"required": true,
"deprecated": false
},
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4364"
}
},
{
@ -4901,7 +5023,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4349"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4375"
}
},
{
@ -4955,7 +5077,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4360"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4386"
}
},
{
@ -5010,7 +5132,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4371"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4397"
}
},
{
@ -5112,7 +5234,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4382"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4408"
}
},
{
@ -5335,7 +5457,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4393"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4419"
}
},
{
@ -5518,7 +5640,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4404"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4430"
}
},
{
@ -5712,7 +5834,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4415"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4441"
}
},
{
@ -5758,7 +5880,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4426"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4452"
}
},
{
@ -5908,7 +6030,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4437"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4463"
}
},
{
@ -6045,7 +6167,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4448"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4474"
}
},
{
@ -6113,7 +6235,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4459"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4485"
}
},
{
@ -6230,7 +6352,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4470"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4496"
}
},
{
@ -6321,7 +6443,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4481"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4507"
}
},
{
@ -6407,7 +6529,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4492"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4518"
}
},
{
@ -6434,7 +6556,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4503"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4529"
}
},
{
@ -6461,7 +6583,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4514"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4540"
}
},
{
@ -6529,7 +6651,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4525"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4551"
}
},
{
@ -7035,7 +7157,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4536"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4562"
}
},
{
@ -7132,7 +7254,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4547"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4573"
}
},
{
@ -7232,7 +7354,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4558"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4584"
}
},
{
@ -7332,7 +7454,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4569"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4595"
}
},
{
@ -7457,7 +7579,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4580"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4606"
}
},
{
@ -7566,7 +7688,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4591"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4617"
}
},
{
@ -7669,7 +7791,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4602"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4628"
}
},
{
@ -7799,7 +7921,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4613"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4639"
}
},
{
@ -7906,7 +8028,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4624"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4650"
}
},
{
@ -7967,7 +8089,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4635"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4661"
}
},
{
@ -8035,7 +8157,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4646"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4672"
}
},
{
@ -8116,7 +8238,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4657"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4683"
}
},
{
@ -8280,7 +8402,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4668"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4694"
}
},
{
@ -8373,7 +8495,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4679"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4705"
}
},
{
@ -8574,7 +8696,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4690"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4716"
}
},
{
@ -8685,7 +8807,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4701"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4727"
}
},
{
@ -8816,7 +8938,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4712"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4738"
}
},
{
@ -8902,7 +9024,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4723"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4749"
}
},
{
@ -8929,7 +9051,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4734"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4760"
}
},
{
@ -8982,7 +9104,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4745"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4771"
}
},
{
@ -9070,7 +9192,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4756"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4782"
}
},
{
@ -9521,7 +9643,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4767"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4793"
}
},
{
@ -9688,7 +9810,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4778"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4804"
}
},
{
@ -9861,7 +9983,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4789"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4815"
}
},
{
@ -9929,7 +10051,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4800"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4826"
}
},
{
@ -9997,7 +10119,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4811"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4837"
}
},
{
@ -10158,7 +10280,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4822"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4848"
}
},
{
@ -10203,7 +10325,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4844"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4870"
}
},
{
@ -10248,7 +10370,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4855"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4881"
}
},
{
@ -10275,7 +10397,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4866"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L4892"
}
}
]

View File

@ -30,7 +30,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5152"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5178"
}
},
{
@ -109,7 +109,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5163"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5189"
}
},
{
@ -155,7 +155,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5174"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5200"
}
},
{
@ -203,7 +203,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5185"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5211"
}
},
{
@ -251,7 +251,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5196"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5222"
}
},
{
@ -354,7 +354,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5207"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5233"
}
},
{
@ -428,7 +428,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5218"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5244"
}
},
{
@ -591,7 +591,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5229"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5255"
}
},
{
@ -742,7 +742,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5240"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5266"
}
},
{
@ -781,7 +781,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5251"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5277"
}
},
{
@ -913,7 +913,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5262"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5288"
}
},
{
@ -945,7 +945,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5273"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5299"
}
},
{
@ -986,7 +986,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5284"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5310"
}
},
{
@ -1054,7 +1054,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5295"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5321"
}
},
{
@ -1185,7 +1185,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5306"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5332"
}
},
{
@ -1316,7 +1316,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5317"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5343"
}
},
{
@ -1416,7 +1416,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5328"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5354"
}
},
{
@ -1516,7 +1516,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5339"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5365"
}
},
{
@ -1616,7 +1616,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5350"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5376"
}
},
{
@ -1716,7 +1716,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5361"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5387"
}
},
{
@ -1816,7 +1816,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5372"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5398"
}
},
{
@ -1916,7 +1916,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5383"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5409"
}
},
{
@ -2040,7 +2040,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5394"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5420"
}
},
{
@ -2164,7 +2164,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5405"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5431"
}
},
{
@ -2279,7 +2279,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5416"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5442"
}
},
{
@ -2379,7 +2379,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5427"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5453"
}
},
{
@ -2512,7 +2512,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5438"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5464"
}
},
{
@ -2636,7 +2636,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5449"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5475"
}
},
{
@ -2760,7 +2760,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5460"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5486"
}
},
{
@ -2884,7 +2884,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5471"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5497"
}
},
{
@ -3017,7 +3017,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5482"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5508"
}
},
{
@ -3117,7 +3117,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5493"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5519"
}
},
{
@ -3157,7 +3157,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5504"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5530"
}
},
{
@ -3229,7 +3229,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5515"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5541"
}
},
{
@ -3279,7 +3279,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5526"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5552"
}
},
{
@ -3323,7 +3323,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5537"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5563"
}
},
{
@ -3364,7 +3364,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5548"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5574"
}
},
{
@ -3608,7 +3608,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5559"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5585"
}
},
{
@ -3682,7 +3682,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5570"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5596"
}
},
{
@ -3732,7 +3732,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5581"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5607"
}
},
{
@ -3761,7 +3761,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5592"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5618"
}
},
{
@ -3790,7 +3790,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5603"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5629"
}
},
{
@ -3846,7 +3846,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5614"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5640"
}
},
{
@ -3869,7 +3869,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5625"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5651"
}
},
{
@ -3929,7 +3929,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5636"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5662"
}
},
{
@ -3968,7 +3968,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5647"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5673"
}
},
{
@ -4008,7 +4008,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5658"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5684"
}
},
{
@ -4081,7 +4081,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5669"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5695"
}
},
{
@ -4145,7 +4145,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5680"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5706"
}
},
{
@ -4208,7 +4208,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5691"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5717"
}
},
{
@ -4258,7 +4258,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5702"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5728"
}
},
{
@ -4817,7 +4817,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5713"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5739"
}
},
{
@ -4858,7 +4858,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5724"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5750"
}
},
{
@ -4899,7 +4899,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5735"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5761"
}
},
{
@ -4940,7 +4940,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5746"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5772"
}
},
{
@ -4981,7 +4981,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5757"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5783"
}
},
{
@ -5022,7 +5022,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5768"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5794"
}
},
{
@ -5053,7 +5053,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5779"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5805"
}
},
{
@ -5103,7 +5103,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5790"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5816"
}
},
{
@ -5144,7 +5144,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5801"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5827"
}
},
{
@ -5183,7 +5183,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5812"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5838"
}
},
{
@ -5247,7 +5247,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5823"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5849"
}
},
{
@ -5305,7 +5305,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5834"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5860"
}
},
{
@ -5752,7 +5752,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5845"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5871"
}
},
{
@ -5788,7 +5788,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5856"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5882"
}
},
{
@ -5931,7 +5931,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5867"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5893"
}
},
{
@ -5987,7 +5987,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5878"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5904"
}
},
{
@ -6026,7 +6026,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5889"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5915"
}
},
{
@ -6203,7 +6203,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5900"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5926"
}
},
{
@ -6255,7 +6255,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5911"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5937"
}
},
{
@ -6447,7 +6447,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5922"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5948"
}
},
{
@ -6547,7 +6547,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5933"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5959"
}
},
{
@ -6601,7 +6601,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5944"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5970"
}
},
{
@ -6640,7 +6640,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5955"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5981"
}
},
{
@ -6725,7 +6725,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5966"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5992"
}
},
{
@ -6919,7 +6919,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5977"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6003"
}
},
{
@ -7017,7 +7017,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5988"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6014"
}
},
{
@ -7149,7 +7149,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L5999"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6025"
}
},
{
@ -7203,7 +7203,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6010"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6036"
}
},
{
@ -7237,7 +7237,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6021"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6047"
}
},
{
@ -7324,7 +7324,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6032"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6058"
}
},
{
@ -7378,7 +7378,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6043"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6069"
}
},
{
@ -7478,7 +7478,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6054"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6080"
}
},
{
@ -7555,7 +7555,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6065"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6091"
}
},
{
@ -7646,7 +7646,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6076"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6102"
}
},
{
@ -7685,7 +7685,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6087"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6113"
}
},
{
@ -7801,7 +7801,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6098"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6124"
}
},
{
@ -9901,7 +9901,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6109"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6135"
}
}
]

View File

@ -161,7 +161,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6197"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6223"
}
},
{
@ -252,7 +252,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6208"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6234"
}
},
{
@ -420,7 +420,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6219"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6245"
}
},
{
@ -447,7 +447,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6230"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6256"
}
},
{
@ -597,7 +597,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6241"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6267"
}
},
{
@ -700,7 +700,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6252"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6278"
}
},
{
@ -803,7 +803,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6263"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6289"
}
},
{
@ -925,7 +925,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6274"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6300"
}
},
{
@ -1135,7 +1135,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6285"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6311"
}
},
{
@ -1306,7 +1306,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6296"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6322"
}
},
{
@ -3350,7 +3350,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6307"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6333"
}
},
{
@ -3470,7 +3470,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6318"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6344"
}
},
{
@ -3531,7 +3531,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6329"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6355"
}
},
{
@ -3569,7 +3569,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6340"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6366"
}
},
{
@ -3729,7 +3729,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6351"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6377"
}
},
{
@ -3913,7 +3913,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6362"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6388"
}
},
{
@ -4054,7 +4054,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6373"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6399"
}
},
{
@ -4107,7 +4107,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6384"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6410"
}
},
{
@ -4250,7 +4250,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6395"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6421"
}
},
{
@ -4474,7 +4474,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6406"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6432"
}
},
{
@ -4601,7 +4601,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6417"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6443"
}
},
{
@ -4768,7 +4768,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6428"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6454"
}
},
{
@ -4895,7 +4895,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6439"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6465"
}
},
{
@ -4933,7 +4933,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6450"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6476"
}
},
{
@ -4972,7 +4972,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6461"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6487"
}
},
{
@ -4995,7 +4995,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6472"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6498"
}
},
{
@ -5034,7 +5034,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6483"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6509"
}
},
{
@ -5057,7 +5057,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6494"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6520"
}
},
{
@ -5096,7 +5096,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6505"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6531"
}
},
{
@ -5130,7 +5130,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6516"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6542"
}
},
{
@ -5184,7 +5184,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6527"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6553"
}
},
{
@ -5223,7 +5223,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6538"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6564"
}
},
{
@ -5262,7 +5262,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6549"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6575"
}
},
{
@ -5297,7 +5297,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6560"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6586"
}
},
{
@ -5477,7 +5477,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6571"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6597"
}
},
{
@ -5506,7 +5506,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6582"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6608"
}
},
{
@ -5529,7 +5529,7 @@
"deprecated": false,
"externalDocs": {
"description": "Github remote link",
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6593"
"url": "https://github.com/filecoin-project/lotus/blob/master/api/proxy_gen.go#L6619"
}
}
]

View File

@ -1011,6 +1011,14 @@ type EthTraceReplayBlockTransaction struct {
VmTrace *string `json:"vmTrace"`
}
type EthTraceTransaction struct {
*EthTrace
BlockHash EthHash `json:"blockHash"`
BlockNumber int64 `json:"blockNumber"`
TransactionHash EthHash `json:"transactionHash"`
TransactionPosition int `json:"transactionPosition"`
}
type EthCallTraceAction struct {
CallType string `json:"callType"`
From EthAddress `json:"from"`

View File

@ -77,6 +77,7 @@
* [EthSyncing](#EthSyncing)
* [EthTraceBlock](#EthTraceBlock)
* [EthTraceReplayBlockTransactions](#EthTraceReplayBlockTransactions)
* [EthTraceTransaction](#EthTraceTransaction)
* [EthUninstallFilter](#EthUninstallFilter)
* [EthUnsubscribe](#EthUnsubscribe)
* [Filecoin](#Filecoin)
@ -2098,6 +2099,39 @@ Response:
]
```
### EthTraceTransaction
Implmements OpenEthereum-compatible API method trace_transaction
Perms: read
Inputs:
```json
[
"string value"
]
```
Response:
```json
[
{
"type": "string value",
"error": "string value",
"subtraces": 123,
"traceAddress": [
123
],
"action": {},
"result": {},
"blockHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e",
"blockNumber": 9,
"transactionHash": "0x37690cfec6c1bf4c3b9288c7a5d783e98731e90b0a4c177c2a374c7a9427355e",
"transactionPosition": 123
}
]
```
### EthUninstallFilter
Uninstalls a filter with given id.

View File

@ -146,6 +146,7 @@ type TargetAPI interface {
Web3ClientVersion(ctx context.Context) (string, error)
EthTraceBlock(ctx context.Context, blkNum string) ([]*ethtypes.EthTraceBlock, error)
EthTraceReplayBlockTransactions(ctx context.Context, blkNum string, traceTypes []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error)
EthTraceTransaction(ctx context.Context, txHash string) ([]*ethtypes.EthTraceTransaction, error)
GetActorEventsRaw(ctx context.Context, filter *types.ActorEventFilter) ([]*types.ActorEvent, error)
SubscribeActorEventsRaw(ctx context.Context, filter *types.ActorEventFilter) (<-chan *types.ActorEvent, error)

View File

@ -621,6 +621,14 @@ func (gw *Node) EthTraceReplayBlockTransactions(ctx context.Context, blkNum stri
return gw.target.EthTraceReplayBlockTransactions(ctx, blkNum, traceTypes)
}
func (gw *Node) EthTraceTransaction(ctx context.Context, txHash string) ([]*ethtypes.EthTraceTransaction, error) {
if err := gw.limit(ctx, stateRateLimitTokens); err != nil {
return nil, err
}
return gw.target.EthTraceTransaction(ctx, txHash)
}
var EthMaxFiltersPerConn = 16 // todo make this configurable
func addUserFilterLimited(ctx context.Context, cb func() (ethtypes.EthFilterID, error)) (ethtypes.EthFilterID, error) {

View File

@ -590,3 +590,57 @@ func TestEthTxFromNativeAccount_InvalidReceiver(t *testing.T) {
require.NoError(t, err)
require.EqualValues(t, &expectedTo, tx.To)
}
func TestTraceTransaction(t *testing.T) {
blockTime := 100 * time.Millisecond
client, _, ens := kit.EnsembleMinimal(t, kit.MockProofs(), kit.ThroughRPC())
ens.InterconnectAll().BeginMining(blockTime)
ctx, cancel := context.WithTimeout(context.Background(), time.Minute)
defer cancel()
// install contract
contractHex, err := os.ReadFile("./contracts/SimpleCoin.hex")
require.NoError(t, err)
contract, err := hex.DecodeString(string(contractHex))
require.NoError(t, err)
// create a new Ethereum account
key, ethAddr, deployer := client.EVM().NewAccount()
// send some funds to the f410 address
kit.SendFunds(ctx, t, client, deployer, types.FromFil(10))
// DEPLOY CONTRACT
tx, err := deployContractTx(ctx, client, ethAddr, contract)
require.NoError(t, err)
client.EVM().SignTransaction(tx, key.PrivateKey)
hash := client.EVM().SubmitTransaction(ctx, tx)
// EthTraceTransaction errors when tx hash is not found
nonExistentTxHash := "0x0000000000000000000000000000000000000000000000000000000000000000"
traces, err := client.EthTraceTransaction(ctx, nonExistentTxHash)
require.Error(t, err)
require.Contains(t, err.Error(), "transaction not found")
require.Nil(t, traces)
// EthTraceTransaction errors when a trace for pending transactions is requested
traces, err = client.EthTraceTransaction(ctx, hash.String())
require.Error(t, err)
require.Contains(t, err.Error(), "no trace for pending transactions")
require.Nil(t, traces)
receipt, err := client.EVM().WaitTransaction(ctx, hash)
require.NoError(t, err)
require.NotNil(t, receipt)
require.EqualValues(t, ethtypes.EthUint64(0x1), receipt.Status)
// get trace and verify values
traces, err = client.EthTraceTransaction(ctx, hash.String())
require.NoError(t, err)
require.NotNil(t, traces)
require.EqualValues(t, traces[0].TransactionHash, hash)
require.EqualValues(t, traces[0].BlockNumber, receipt.BlockNumber)
}

View File

@ -187,6 +187,10 @@ func (e *EthModuleDummy) EthTraceReplayBlockTransactions(ctx context.Context, bl
return nil, ErrModuleDisabled
}
func (e *EthModuleDummy) EthTraceTransaction(ctx context.Context, txHash string) ([]*ethtypes.EthTraceTransaction, error) {
return nil, ErrModuleDisabled
}
var _ EthModuleAPI = &EthModuleDummy{}
var _ EthEventAPI = &EthModuleDummy{}

View File

@ -75,6 +75,7 @@ type EthModuleAPI interface {
Web3ClientVersion(ctx context.Context) (string, error)
EthTraceBlock(ctx context.Context, blkNum string) ([]*ethtypes.EthTraceBlock, error)
EthTraceReplayBlockTransactions(ctx context.Context, blkNum string, traceTypes []string) ([]*ethtypes.EthTraceReplayBlockTransaction, error)
EthTraceTransaction(ctx context.Context, txHash string) ([]*ethtypes.EthTraceTransaction, error)
}
type EthEventAPI interface {
@ -976,6 +977,51 @@ func (a *EthModule) EthTraceReplayBlockTransactions(ctx context.Context, blkNum
return allTraces, nil
}
func (a *EthModule) EthTraceTransaction(ctx context.Context, txHash string) ([]*ethtypes.EthTraceTransaction, error) {
// convert from string to internal type
ethTxHash, err := ethtypes.ParseEthHash(txHash)
if err != nil {
return nil, xerrors.Errorf("cannot parse eth hash: %w", err)
}
tx, err := a.EthGetTransactionByHash(ctx, &ethTxHash)
if err != nil {
return nil, xerrors.Errorf("cannot get transaction by hash: %w", err)
}
if tx == nil {
return nil, xerrors.Errorf("transaction not found")
}
// tx.BlockNumber is nil when the transaction is still in the mpool/pending
if tx.BlockNumber == nil {
return nil, xerrors.Errorf("no trace for pending transactions")
}
blockTraces, err := a.EthTraceBlock(ctx, strconv.FormatUint(uint64(*tx.BlockNumber), 10))
if err != nil {
return nil, xerrors.Errorf("cannot get trace for block: %w", err)
}
txTraces := make([]*ethtypes.EthTraceTransaction, 0, len(blockTraces))
for _, blockTrace := range blockTraces {
if blockTrace.TransactionHash == ethTxHash {
// Create a new EthTraceTransaction from the block trace
txTrace := ethtypes.EthTraceTransaction{
EthTrace: blockTrace.EthTrace,
BlockHash: blockTrace.BlockHash,
BlockNumber: blockTrace.BlockNumber,
TransactionHash: blockTrace.TransactionHash,
TransactionPosition: blockTrace.TransactionPosition,
}
txTraces = append(txTraces, &txTrace)
}
}
return txTraces, nil
}
func (a *EthModule) applyMessage(ctx context.Context, msg *types.Message, tsk types.TipSetKey) (res *api.InvocResult, err error) {
ts, err := a.Chain.GetTipSetFromKey(ctx, tsk)
if err != nil {