Upgrade index-provider
and update topic name
Update the topic name to be consistent with default configured in storetheindex. Upgrade to the latest `index-provider`.
This commit is contained in:
parent
211ad166af
commit
5d72ebe0cc
@ -265,7 +265,7 @@
|
||||
#LinkedChunkSize = 16384
|
||||
|
||||
# env var: LOTUS_INDEXERPROVIDER_PUBSUBTOPIC
|
||||
#PubSubTopic = "indexer/ingest"
|
||||
#PubSubTopic = "/indexer/ingest/mainnet"
|
||||
|
||||
# env var: LOTUS_INDEXERPROVIDER_PURGELINKCACHE
|
||||
#PurgeLinkCache = false
|
||||
|
2
go.mod
2
go.mod
@ -45,7 +45,7 @@ require (
|
||||
github.com/filecoin-project/go-statemachine v1.0.1
|
||||
github.com/filecoin-project/go-statestore v0.2.0
|
||||
github.com/filecoin-project/go-storedcounter v0.1.0
|
||||
github.com/filecoin-project/index-provider v0.2.3
|
||||
github.com/filecoin-project/index-provider v0.2.4
|
||||
github.com/filecoin-project/specs-actors v0.9.14
|
||||
github.com/filecoin-project/specs-actors/v2 v2.3.6
|
||||
github.com/filecoin-project/specs-actors/v3 v3.1.1
|
||||
|
10
go.sum
10
go.sum
@ -355,8 +355,9 @@ github.com/filecoin-project/go-jsonrpc v0.1.5 h1:ckxqZ09ivBAVf5CSmxxrqqNHC7PJm3G
|
||||
github.com/filecoin-project/go-jsonrpc v0.1.5/go.mod h1:XBBpuKIMaXIIzeqzO1iucq4GvbF8CxmXRFoezRh+Cx4=
|
||||
github.com/filecoin-project/go-legs v0.2.1/go.mod h1:iHDfdqieReblkLoHneB68wvthFtNKB+wkeEWKtiJESk=
|
||||
github.com/filecoin-project/go-legs v0.2.2/go.mod h1:mdNMISV/bWyZguFM7R4s0mxV1v6Vhda3BiAw9+jv5iE=
|
||||
github.com/filecoin-project/go-legs v0.2.3 h1:sNEUF+Cw4mpGp8hX4oZO/lIAiZpbJy55ih2GxXhj+V0=
|
||||
github.com/filecoin-project/go-legs v0.2.3/go.mod h1:mdNMISV/bWyZguFM7R4s0mxV1v6Vhda3BiAw9+jv5iE=
|
||||
github.com/filecoin-project/go-legs v0.2.4 h1:2U4Zg2NMO76YxMMFhAWscvDBatqOlbUYDNKB70cLNl4=
|
||||
github.com/filecoin-project/go-legs v0.2.4/go.mod h1:mdNMISV/bWyZguFM7R4s0mxV1v6Vhda3BiAw9+jv5iE=
|
||||
github.com/filecoin-project/go-padreader v0.0.0-20200903213702-ed5fae088b20/go.mod h1:mPn+LRRd5gEKNAtc+r3ScpW2JRU/pj4NBKdADYWHiak=
|
||||
github.com/filecoin-project/go-padreader v0.0.0-20210723183308-812a16dc01b1/go.mod h1:VYVPJqwpsfmtoHnAmPx6MUwmrK6HIcDqZJiuZhtmfLQ=
|
||||
github.com/filecoin-project/go-padreader v0.0.1 h1:8h2tVy5HpoNbr2gBRr+WD6zV6VD6XHig+ynSGJg8ZOs=
|
||||
@ -381,8 +382,8 @@ github.com/filecoin-project/go-statestore v0.2.0/go.mod h1:8sjBYbS35HwPzct7iT4lI
|
||||
github.com/filecoin-project/go-storedcounter v0.1.0 h1:Mui6wSUBC+cQGHbDUBcO7rfh5zQkWJM/CpAZa/uOuus=
|
||||
github.com/filecoin-project/go-storedcounter v0.1.0/go.mod h1:4ceukaXi4vFURIoxYMfKzaRF5Xv/Pinh2oTnoxpv+z8=
|
||||
github.com/filecoin-project/index-provider v0.2.1/go.mod h1:T3Ct7dqS7GDtotzFk/cNe0fzhoPLLk8htiXMK+xQfHU=
|
||||
github.com/filecoin-project/index-provider v0.2.3 h1:F4zM+hetYYXt0dXgUSejN9SadAHUjvzakfWFbC6HUa4=
|
||||
github.com/filecoin-project/index-provider v0.2.3/go.mod h1:QkOSa6WlNFTdbdGLDS4w5k3pMsz/fLZFoorAGgM7e0Y=
|
||||
github.com/filecoin-project/index-provider v0.2.4 h1:UNiT7mgln51nliy39t4JwoUNfttYeju3OEW+MIZVfbw=
|
||||
github.com/filecoin-project/index-provider v0.2.4/go.mod h1:XTRE4AJglEpSlJwSZFVcm6zs3vsDvyfDwLkjTFSB5Po=
|
||||
github.com/filecoin-project/specs-actors v0.9.13/go.mod h1:TS1AW/7LbG+615j4NsjMK1qlpAwaFsG9w0V2tg2gSao=
|
||||
github.com/filecoin-project/specs-actors v0.9.14 h1:68PVstg2UB3ZsMLF+DKFTAs/YKsqhKWynkr0IqmVRQY=
|
||||
github.com/filecoin-project/specs-actors v0.9.14/go.mod h1:TS1AW/7LbG+615j4NsjMK1qlpAwaFsG9w0V2tg2gSao=
|
||||
@ -407,8 +408,9 @@ github.com/filecoin-project/specs-actors/v7 v7.0.0-rc1/go.mod h1:TA5FwCna+Yi36PO
|
||||
github.com/filecoin-project/specs-storage v0.1.1-0.20211228030229-6d460d25a0c9 h1:oUYOvF7EvdXS0Zmk9mNkaB6Bu0l+WXBYPzVodKMiLug=
|
||||
github.com/filecoin-project/specs-storage v0.1.1-0.20211228030229-6d460d25a0c9/go.mod h1:Tb88Zq+IBJbvAn3mS89GYj3jdRThBTE/771HCVZdRJU=
|
||||
github.com/filecoin-project/storetheindex v0.2.2/go.mod h1:05vxs5u3vTQFAwGW9+pgWSMc3BgFOK513nPyIQyLwyQ=
|
||||
github.com/filecoin-project/storetheindex v0.2.3 h1:YXA1qWQv/tRzvuqcPUt4kQbIgxFdKP32SPjWTefhOGw=
|
||||
github.com/filecoin-project/storetheindex v0.2.3/go.mod h1:US7ddOKCI+KQFcC3ipKuhK3i46EYlSCt5EvPhxBLfWI=
|
||||
github.com/filecoin-project/storetheindex v0.2.5 h1:upSoyl1ostX2DxyXoR5U8FSRqvT1pHeYEfO3irobYZw=
|
||||
github.com/filecoin-project/storetheindex v0.2.5/go.mod h1:Izc9PdivlQ+he1J8R1DD8978P8Yna0xQbf61L2UKxFc=
|
||||
github.com/filecoin-project/test-vectors/schema v0.0.5 h1:w3zHQhzM4pYxJDl21avXjOKBLF8egrvwUwjpT8TquDg=
|
||||
github.com/filecoin-project/test-vectors/schema v0.0.5/go.mod h1:iQ9QXLpYWL3m7warwvK1JC/pTri8mnfEmKygNDqqY6E=
|
||||
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc=
|
||||
|
@ -55,5 +55,5 @@ func TestDefaultMinerRoundtrip(t *testing.T) {
|
||||
|
||||
func TestDefaultStorageMiner_SetsIndexIngestTopic(t *testing.T) {
|
||||
subject := DefaultStorageMiner()
|
||||
require.Equal(t, "indexer/ingest", subject.IndexerProvider.PubSubTopic)
|
||||
require.Equal(t, "/indexer/ingest/mainnet", subject.IndexerProvider.PubSubTopic)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user