Skip to content

Commit def1b9b

Browse files
committed
Fix Polkadot node that points to the wrong chain
Polkadot's only node besides Gem's own was polkadot-relay-rest-api.parity.io, which serves the relay chain, while Gem keeps DOT on Asset Hub. Picked in Networks, it showed the relay balance (969.66 DOT against 765,615 DOT on Asset Hub for the same address) and built transfers for the relay chain with Asset Hub's Balances pallet index. Adding that URL as a custom node already fails with Invalid Network ID; the built-in list skipped that check. No public Asset Hub sidecar serves the /v1 routes, so the list is empty like Cardano's.
1 parent f205951 commit def1b9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎core/crates/primitives/src/node_config.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ pub fn get_nodes_for_chain(chain: Chain) -> Vec<Node> {
150150
Chain::Stellar => vec![Node::new("https://horizon.stellar.org", NodePriority::High)],
151151
Chain::Sonic => vec![Node::new("https://rpc.soniclabs.com", NodePriority::High)],
152152
Chain::Algorand => vec![Node::new("https://mainnet-api.algonode.cloud", NodePriority::High)],
153-
Chain::Polkadot => vec![Node::new("https://polkadot-relay-rest-api.parity.io", NodePriority::High)],
153+
Chain::Polkadot => vec![],
154154
Chain::Plasma => vec![Node::new("https://rpc.plasma.to", NodePriority::High)],
155155
Chain::Cardano => vec![],
156156
Chain::Abstract => vec![Node::new("https://api.mainnet.abs.xyz", NodePriority::High)],

0 commit comments

Comments
 (0)