Hi, I’m trying to setup rosetta with my custom token and am following this guide here.
I’m pulling the latest wasm and did from here
"candid": "https://raw.githubusercontent.com/dfinity/ic/3bcccef07408921fe849c92dd2437adc157ef9c3/rs/rosetta-api/icrc1/ledger/ledger.did",
"wasm": "https://download.dfinity.systems/ic/3bcccef07408921fe849c92dd2437adc157ef9c3/canisters/ic-icrc1-ledger.wasm.gz"
When I start the docker with command described in the guide, I get the error that the method tip_of_chain_pb
is missing.
09:16:46.031664 INFO [main] ic_rosetta_api - Starting ic-rosetta-api, pkg_version: 1.8.0
09:16:46.032495 INFO [main] ic_rosetta_api - Listening on 0.0.0.0:8080
09:16:46.032621 WARN [main] ic_rosetta_api - Data certificate will not be verified due to missing root key
09:16:46.041682 WARN [main] ic_ledger_canister_blocks_synchronizer::canister_access - Fetching the root key from the replica because it was not set
09:16:47.323596 WARN [main] ic_rosetta_api::ledger_client - Symbol endpoint not present in the ledger canister. Couldn't verify token symbol.
09:16:47.388245 INFO [main] ic_ledger_canister_blocks_synchronizer::ledger_blocks_sync - Loading blocks from store
09:16:47.388646 INFO [main] ic_ledger_canister_blocks_synchronizer::ledger_blocks_sync - Ledger client is up. Loaded 0 blocks from store. First block at None, last at None
09:16:47.389916 INFO [main] ic_rosetta_api - Network id: NetworkIdentifier { blockchain: "Internet Computer", network: "0000000001800bab0101", sub_network_identifier: None }
09:16:47.394654 INFO [main] ic_rosetta_api::rosetta_server - Starting Rosetta API server
09:16:47.632645 ERROR [main] ic_rosetta_api::rosetta_server - Error in syncing blocks: InternalError(false, Details { error_message: Some("In tip: The Replica returned an error: code 3, message: \"IC0302: Canister 6uad6-fqaaa-aaaam-abovq-cai has no query method 'tip_of_chain_pb'\""), extra_fields: {} })
Am I using the wrong docker rosetta version or setting something up wrongly?