Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions packages/adapter-polkadot/src/__tests__/networks.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ describe('Polkadot Hub Network Configurations', () => {
expect(polkadotHubMainnet.nativeCurrency.decimals).toBe(18);
});

it('should use Blockscout (Etherscan V1 API)', () => {
it('should use Routescan (Etherscan-compatible V1 API)', () => {
expect(polkadotHubMainnet.supportsEtherscanV2).toBe(false);
expect(polkadotHubMainnet.apiUrl).toContain('blockscout');
expect(polkadotHubMainnet.apiUrl).toContain('routescan.io');
expect(polkadotHubMainnet.explorerUrl).toBe('https://polkadot.routescan.io');
});

it('should include viem chain definition', () => {
Expand Down Expand Up @@ -289,7 +290,7 @@ describe('Network Validation', () => {
});
});

it('Hub networks should use Blockscout (V1 API)', () => {
it('Hub networks should use Etherscan-compatible V1 APIs', () => {
const hubNetworks = polkadotNetworks.filter((n) => n.networkCategory === 'hub');
hubNetworks.forEach((network) => {
expect(network.supportsEtherscanV2).toBe(false);
Expand Down
Loading