@@ -44,7 +44,6 @@ import (
44
44
"github.com/filecoin-project/lotus/chain/types/ethtypes"
45
45
"github.com/filecoin-project/lotus/chain/vm"
46
46
"github.com/filecoin-project/lotus/node/impl/common"
47
- "github.com/filecoin-project/lotus/node/impl/eth"
48
47
"github.com/filecoin-project/lotus/node/impl/full"
49
48
"github.com/filecoin-project/lotus/node/impl/net"
50
49
)
@@ -60,7 +59,7 @@ type LilyNodeAPI struct {
60
59
full.StateAPI
61
60
full.SyncAPI
62
61
63
- eth. EthTransactionAPI
62
+ full. EthTransactionAPIV1
64
63
full.ActorEventAPI
65
64
common.CommonAPI
66
65
Events * events.Events
@@ -559,15 +558,15 @@ func (m *LilyNodeAPI) ComputeBaseFee(ctx context.Context, ts *types.TipSet) (abi
559
558
}
560
559
561
560
func (m * LilyNodeAPI ) EthGetBlockByHash (ctx context.Context , blkHash ethtypes.EthHash , fullTxInfo bool ) (ethtypes.EthBlock , error ) {
562
- return m .EthTransactionAPI .EthGetBlockByHash (ctx , blkHash , fullTxInfo )
561
+ return m .EthTransactionAPIV1 .EthGetBlockByHash (ctx , blkHash , fullTxInfo )
563
562
}
564
563
565
564
func (m * LilyNodeAPI ) EthGetTransactionByHash (ctx context.Context , txHash * ethtypes.EthHash ) (* ethtypes.EthTx , error ) {
566
- return m .EthTransactionAPI .EthGetTransactionByHash (ctx , txHash )
565
+ return m .EthTransactionAPIV1 .EthGetTransactionByHash (ctx , txHash )
567
566
}
568
567
569
568
func (m * LilyNodeAPI ) EthGetTransactionReceipt (ctx context.Context , txHash ethtypes.EthHash ) (* api.EthTxReceipt , error ) {
570
- return m .EthTransactionAPI .EthGetTransactionReceipt (ctx , txHash )
569
+ return m .EthTransactionAPIV1 .EthGetTransactionReceipt (ctx , txHash )
571
570
}
572
571
573
572
func (m * LilyNodeAPI ) ChainGetMessagesInTipset (ctx context.Context , tsk types.TipSetKey ) ([]api.Message , error ) {
0 commit comments