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

Error unmarshalling result: json: cannot unmarshal array into Go value of type map[string]json.RawMessage #119

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

Comments

@risasoft
Copy link

risasoft commented Sep 7, 2024

The indexer doesn't seem to work for unicorn-420 chain. I get error starting:

ERR Error getting block &{1296003 false true} 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

Config file

#App configuration values
[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 = true #If false, we won't attempt to index the chain
exit-when-caught-up = true #mainly used for Osmosis rewards indexing
index-block-events = false #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:443"
account-prefix = "unicorn1"
chain-id = "unicorn-420"
chain-name = "unicorn"

# Flags for extending or modifying the indexed dataset
[flags]
index-tx-message-raw=false
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