Skip to content

fix(networks): move Tatara entry from PRODUCTION_NETWORKS to TEST_NETWORKS#7

Open
Nexory wants to merge 1 commit into
across-protocol:masterfrom
Nexory:fix/tatara-testnet-classification
Open

fix(networks): move Tatara entry from PRODUCTION_NETWORKS to TEST_NETWORKS#7
Nexory wants to merge 1 commit into
across-protocol:masterfrom
Nexory:fix/tatara-testnet-classification

Conversation

@Nexory
Copy link
Copy Markdown

@Nexory Nexory commented May 29, 2026

Summary

TATARA (chain ID 129399) is declared as a testnet at src/networks.ts:9:

```ts
export const TESTNET_SEPOLIA_CHAIN_IDs = {
...
TATARA: 129399,
...
};
```

But its PublicNetwork entry was placed inside PRODUCTION_NETWORKS (old line 233), creating a classification mismatch. Code that consults MAINNET_CHAIN_IDs versus TESTNET_*_CHAIN_IDs to filter or route would see TATARA classified as testnet, while code that iterates PRODUCTION_NETWORKS would treat it as mainnet.

What changed

Moved the Tatara entry from PRODUCTION_NETWORKS to TEST_NETWORKS, preserving the existing field values exactly. Added a // TODO: comment for the empty publicRPC / blockExplorer fields so the next maintainer touching this code is aware that the official Katana team's testnet endpoint list still needs to be populated there.

```diff

  • [CHAIN_IDs.TATARA]: { ← was inside PRODUCTION_NETWORKS
  • name: "Tatara",
  • ...
  • },
  • [CHAIN_IDs.TATARA]: { ← now inside TEST_NETWORKS
  • name: "Tatara",
  • // TODO: populate publicRPC and blockExplorer ...
  • ...
  • },
    ```

Impact

  • PUBLIC_NETWORKS (which spreads both maps at L608) still includes TATARA — no breaking change for downstream consumers
  • PRODUCTION_NETWORKS no longer misrepresents TATARA as mainnet
  • TEST_NETWORKS correctly contains the entry, aligned with the chain ID declaration at L9

What I did NOT change

  • The empty publicRPC and blockExplorer values are preserved as-is. Populating them with authoritative Katana testnet endpoints is left for someone with access to the official Katana team's endpoint list — happy to do that in a follow-up if pointed at the right source.

Notes

This issue was found during an audit of the across-protocol SDK ecosystem.

…WORKS

TATARA (chain ID 129399) is declared as a testnet in TESTNET_SEPOLIA_CHAIN_IDs
(line 9) but its PublicNetwork entry was placed inside PRODUCTION_NETWORKS,
creating a classification inconsistency. Code consulting MAINNET-vs-TESTNET
maps to route or filter would see TATARA classified differently depending
on which map is read.

This commit moves the Tatara entry from PRODUCTION_NETWORKS to TEST_NETWORKS
preserving the existing field values. The empty publicRPC and blockExplorer
fields are preserved as-is with a TODO comment — populating them with
authoritative Katana testnet endpoints is left for a follow-up by someone
with access to the official Katana team's endpoint list.
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

Successfully merging this pull request may close these issues.

1 participant