From 98420edd30fba6f9f3ede08c43874a8a2772088a Mon Sep 17 00:00:00 2001 From: "net.wyman" <106940772+m-wyman@users.noreply.github.com> Date: Tue, 1 Nov 2022 09:56:22 +0800 Subject: [PATCH] Update README.md (#5914) the rpc_daemon README.md is out of date and miss the eth_subscribe logs event --- cmd/rpcdaemon/README.md | 2 ++ turbo/rpchelper/filters.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/rpcdaemon/README.md b/cmd/rpcdaemon/README.md index e31331327..4ae66dceb 100644 --- a/cmd/rpcdaemon/README.md +++ b/cmd/rpcdaemon/README.md @@ -264,8 +264,10 @@ The following table shows the current implementation status of Erigon's RPC daem | eth_submitWork | Yes | | | | | | | eth_subscribe | Limited | Websock Only - newHeads, | +| | | newPendingTransactionsWithBody, | | | | newPendingTransactions, | | | | newPendingBlock | +| | | logs | | eth_unsubscribe | Yes | Websock Only | | | | | | engine_newPayloadV1 | Yes | | diff --git a/turbo/rpchelper/filters.go b/turbo/rpchelper/filters.go index 8ae7b7002..dbc47207a 100644 --- a/turbo/rpchelper/filters.go +++ b/turbo/rpchelper/filters.go @@ -439,7 +439,7 @@ func (ff *Filters) SubscribeLogs(out chan *types.Log, crit filters.FilterCriteri } addresses, topics := ff.logsSubs.getAggMaps() - + for addr := range addresses { lfr.Addresses = append(lfr.Addresses, gointerfaces.ConvertAddressToH160(addr)) }