The node ID obtained from the Canister and the URL is inconsistent for the same Node Provider

The node ID obtained from Canister (4ofd5-6aaaa-aaaaa-qahza-cai) is inconsistent with the node ID of the same node_provider_id obtained from the URL (https://ic-api.internetcomputer.org/api/v3/nodes). What could be the reason for this?

Hello @HashBamboo

Can you please be more specific and we can look into it. What are the two node IDs that are different?

The node ID obtained via the command dfx canister call 4ofd5-6aaaa-aaaaa-qahza-cai get_node_provider_rewards_calculation_v1 '(record { provider_id = principal "g2ax6-jrkmb-3zuh3-jibtb-q5xoq-njrgo-5utbc-j2o7g-zfq2w-yyhky-dqe"; historical = false; from_nanos = 1762876800 : nat64; to_nanos = 1762905600 : nat64; })' --network https://ic0.app is inconsistent with the node ID obtained via https://ic-api.internetcomputer.org/api/v3/nodes for the same node_provider_id.

We reinstalled the system before, and the node ID changed, but the query from Canistor still shows the original node ID. How do I update?

I noticed that many Canisters haven’t updated their node IDs.

Hey @HashBamboo :slight_smile:
Thx for reaching out! The canister 4ofd5-6aaaa-aaaaa-qahza-cai is a dev abandoned canister we need to delete. NodeIds are not updated probably because the canister is out of cycles.

Now the functionality is offered directly for Node Rewards Canister on the NNS! Here the link
For fields spec. please take a look here

1 Like