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

Support for Unicorn Chain #751

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

Support for Unicorn Chain #751

risasoft opened this issue Sep 9, 2024 · 0 comments

Comments

@risasoft
Copy link

risasoft commented Sep 9, 2024

Hello - I'm trying to add support for a new chain, Unicorn. I have followed the steps to start syncing but running into an error:

12:54AM ERR re-enqueueing failed block err="failed to get block from node: 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" height=1296005
12:54AM DBG processing block height=1296005

I think something needs to be customized for this chain. Do you know where to start adding customizations?

Unicorn chain uses
cosmos_sdk_version | v0.45.10

I have tried different branches with same error:
origin/cosmos/v0.46.x
chains/comdex/mainnet

Here is my config file:

chain:
    bech32_prefix: unicorn
    modules: []
node:
    type: remote
    config:
        rpc:
            client_name: unicornio
            address: https://rpc.unicorn.meme:443
            max_connections: 20
        grpc:
            address: localhost:9090
            insecure: true
parsing:
    workers: 1
    start_height: 1296000
    average_block_time: 5s
    listen_new_blocks: true
    parse_old_blocks: true
    parse_genesis: 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