@@ -27,7 +27,6 @@ import (
2727 "github.com/evmos/ethermint/rpc/namespaces/ethereum/debug"
2828 "github.com/evmos/ethermint/rpc/namespaces/ethereum/eth"
2929 "github.com/evmos/ethermint/rpc/namespaces/ethereum/eth/filters"
30- "github.com/evmos/ethermint/rpc/namespaces/ethereum/miner"
3130 "github.com/evmos/ethermint/rpc/namespaces/ethereum/net"
3231 "github.com/evmos/ethermint/rpc/namespaces/ethereum/personal"
3332 "github.com/evmos/ethermint/rpc/namespaces/ethereum/txpool"
@@ -50,7 +49,6 @@ const (
5049 NetNamespace = "net"
5150 TxPoolNamespace = "txpool"
5251 DebugNamespace = "debug"
53- MinerNamespace = "miner"
5452
5553 apiVersion = "1.0"
5654)
@@ -153,22 +151,6 @@ func init() {
153151 },
154152 }
155153 },
156- MinerNamespace : func (ctx * server.Context ,
157- clientCtx client.Context ,
158- _ * stream.RPCStream ,
159- allowUnprotectedTxs bool ,
160- indexer ethermint.EVMTxIndexer ,
161- ) []rpc.API {
162- evmBackend := backend .NewBackend (ctx , ctx .Logger , clientCtx , allowUnprotectedTxs , indexer )
163- return []rpc.API {
164- {
165- Namespace : MinerNamespace ,
166- Version : apiVersion ,
167- Service : miner .NewPrivateAPI (ctx , evmBackend ),
168- Public : false ,
169- },
170- }
171- },
172154 }
173155}
174156
0 commit comments