Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
kv.Snapsthos() grpc method (ledgerwatch#4827)
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed Jul 26, 2022
1 parent 271898e commit 790af5a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion cmd/rpcdaemon/cli/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ func EmbeddedServices(ctx context.Context, erigonDB kv.RoDB, stateCacheCfg kvcac
}
kvRPC := remotedbserver.NewKvServer(ctx, erigonDB)
stateDiffClient := direct.NewStateDiffClientDirect(kvRPC)
_ = stateDiffClient
subscribeToStateChangesLoop(ctx, stateDiffClient, stateCache)

directClient := direct.NewEthBackendClientDirect(ethBackendServer)
Expand Down
1 change: 0 additions & 1 deletion cmd/rpcdaemon22/cli/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ func EmbeddedServices(ctx context.Context, erigonDB kv.RoDB, stateCacheCfg kvcac
}
kvRPC := remotedbserver.NewKvServer(ctx, erigonDB)
stateDiffClient := direct.NewStateDiffClientDirect(kvRPC)
_ = stateDiffClient
subscribeToStateChangesLoop(ctx, stateDiffClient, stateCache)

directClient := direct.NewEthBackendClientDirect(ethBackendServer)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/ledgerwatch/erigon
go 1.18

require (
github.com/ledgerwatch/erigon-lib v0.0.0-20220726022430-86646af5167e
github.com/ledgerwatch/erigon-lib v0.0.0-20220726024234-2cd96f074dab
github.com/ledgerwatch/erigon-snapshot v1.0.0
github.com/ledgerwatch/log/v3 v3.4.1
github.com/ledgerwatch/secp256k1 v1.0.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,8 @@ github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/kylelemons/godebug v0.0.0-20170224010052-a616ab194758 h1:0D5M2HQSGD3PYPwICLl+/9oulQauOuETfgFvhBDffs0=
github.com/leanovate/gopter v0.2.9 h1:fQjYxZaynp97ozCzfOyOuAGOU4aU/z37zf/tOujFk7c=
github.com/leanovate/gopter v0.2.9/go.mod h1:U2L/78B+KVFIx2VmW6onHJQzXtFb+p5y3y2Sh+Jxxv8=
github.com/ledgerwatch/erigon-lib v0.0.0-20220726022430-86646af5167e h1:ZMVFV7D/nMZu6/PGdkYE/82KuIL7MfxzVtAMXRhDmWY=
github.com/ledgerwatch/erigon-lib v0.0.0-20220726022430-86646af5167e/go.mod h1:19wwSb5qbagorz9a4QN9FzNqSPjmOJkwa5TezGjloks=
github.com/ledgerwatch/erigon-lib v0.0.0-20220726024234-2cd96f074dab h1:ko2k+G9q5ZFHC6P5y+7AQANe54Ih0RoyRm6OtST8T0E=
github.com/ledgerwatch/erigon-lib v0.0.0-20220726024234-2cd96f074dab/go.mod h1:19wwSb5qbagorz9a4QN9FzNqSPjmOJkwa5TezGjloks=
github.com/ledgerwatch/erigon-snapshot v1.0.0 h1:bp/7xoPdM5lK7LFdqEMH008RZmqxMZV0RUVEQiWs7v4=
github.com/ledgerwatch/erigon-snapshot v1.0.0/go.mod h1:3AuPxZc85jkehh/HA9h8gabv5MSi3kb/ddtzBsTVJFo=
github.com/ledgerwatch/log/v3 v3.4.1 h1:/xGwlVulXnsO9Uq+tzaExc8OWmXXHU0dnLalpbnY5Bc=
Expand Down

0 comments on commit 790af5a

Please sign in to comment.