diff --git a/cli/util/api.go b/cli/util/api.go index 1d6928c3fa2..8a3f5f3f57b 100644 --- a/cli/util/api.go +++ b/cli/util/api.go @@ -343,7 +343,7 @@ func GetFullNodeAPIV1(ctx *cli.Context, opts ...GetFullNodeOption) (v1api.FullNo var rpcOpts []jsonrpc.Option if options.ethSubHandler != nil { - rpcOpts = append(rpcOpts, jsonrpc.WithClientHandler("Filecoin", options.ethSubHandler), jsonrpc.WithClientHandlerAlias("eth_subscription", "Filecoin.EthSubscription")) + rpcOpts = append(rpcOpts, jsonrpc.WithClientHandler("Filecoin", options.ethSubHandler)) } heads, err := GetRawAPIMulti(ctx, repo.FullNode, "v1") diff --git a/itests/kit/rpc.go b/itests/kit/rpc.go index 5d40ac3e96e..66c1c8f4482 100644 --- a/itests/kit/rpc.go +++ b/itests/kit/rpc.go @@ -56,7 +56,6 @@ func fullRpc(t *testing.T, f *TestFullNode) (*TestFullNode, Closer) { rpcOpts := []jsonrpc.Option{ jsonrpc.WithClientHandler("Filecoin", f.EthSubRouter), - jsonrpc.WithClientHandlerAlias("eth_subscription", "Filecoin.EthSubscription"), } cl, stop, err := client.NewFullNodeRPCV1(context.Background(), "ws://"+srv.Listener.Addr().String()+"/rpc/v1", nil, rpcOpts...)