Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cosmos indexer: ERR Error getting block &{1296000 true false} from RPC #22

Open
risasoft opened this issue Sep 7, 2024 · 0 comments
Open

Comments

@risasoft
Copy link

risasoft commented Sep 7, 2024

I'm getting an error trying to connect with unicorn cosmos chain throught e cosmos indexer. I think it is issue in probe.

ERR Error getting block &{1296000 true false} from RPC. Err: error in json rpc client, with http response metadata: (Status: 200 OK, Protocol HTTP/1.1). error unmarshalling result: json: cannot unmarshal array into Go value of type map[string]json.RawMessage
^C

Here is my config file:

[base]
start-block = 1296000   # start indexing at beginning of the blockchain, -1 to resume from highest block indexed
end-block = -1   # stop indexing at this block, -1 to never stop indexing
throttling = 6.00
block-timer = 10000 #print out how long it takes to process this many blocks
wait-for-chain = false #if true, indexer will start when the node is caught up to the blockchain
wait-for-chain-delay = 10 #seconds to wait between each check for node to catch up to the chain
index-transactions = false #If false, we won't attempt to index the chain
exit-when-caught-up = false #mainly used for Osmosis rewards indexing
index-block-events = true #index block events for the particular chain
dry = false # if true, indexing will occur but data will not be written to the database.
rpc-workers = 1
reindex = true
reattempt-failed-blocks = false

# Provides a filter configuration to skip block events or message types based on patterns
filter-file="config-filter.json"

#Lens config options
[probe]
rpc = "https://rpc.unicorn.meme"
account-prefix = "unicorn1"
chain-id = "unicorn-420"
chain-name = "unicorn"

# Flags for extending or modifying the indexed dataset
[flags]
index-tx-message-raw=false

[database]
host = "localhost"
port = "5432"
@risasoft risasoft changed the title cosmos indexer: cosmos indexer: ERR Error getting block &{1296000 true false} from RPC Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant