|
|
@ -203,6 +203,8 @@ type ParityTxTracer struct { |
|
|
|
action |
|
|
|
action |
|
|
|
} |
|
|
|
} |
|
|
|
type ParityBlockTracer struct { |
|
|
|
type ParityBlockTracer struct { |
|
|
|
|
|
|
|
Hash common.Hash |
|
|
|
|
|
|
|
Number uint64 |
|
|
|
cur *ParityTxTracer |
|
|
|
cur *ParityTxTracer |
|
|
|
tracers []*ParityTxTracer |
|
|
|
tracers []*ParityTxTracer |
|
|
|
} |
|
|
|
} |
|
|
@ -401,8 +403,8 @@ func (jst *ParityBlockTracer) CaptureEnd(output []byte, gasUsed uint64, t time.D |
|
|
|
|
|
|
|
|
|
|
|
func (jst *ParityBlockTracer) GetStorage() *TraceBlockStorage { |
|
|
|
func (jst *ParityBlockTracer) GetStorage() *TraceBlockStorage { |
|
|
|
blockStorage := &TraceBlockStorage{ |
|
|
|
blockStorage := &TraceBlockStorage{ |
|
|
|
Hash: jst.cur.blockHash, |
|
|
|
Hash: jst.Hash, |
|
|
|
Number: jst.cur.blockNumber, |
|
|
|
Number: jst.Number, |
|
|
|
addressIndex: make(map[common.Address]int), |
|
|
|
addressIndex: make(map[common.Address]int), |
|
|
|
dataIndex: make(map[common.Hash]int), |
|
|
|
dataIndex: make(map[common.Hash]int), |
|
|
|
} |
|
|
|
} |
|
|
|