Commit eca367b
fix(statics): correct Avalanche C-Chain entries in LEGACY_CHAIN_ID_MAP
Chain IDs 43114 and 43113 were mapped to 'avax' and 'tavax'
respectively, but the registered coin names are 'avaxc' and
'tavaxc'. Any call to CoinMap.fromChainId() for these chain IDs
would throw CoinNotDefinedError.
Adds a unit test asserting that coinNameFromChainId(43114) returns
'avaxc' and coinNameFromChainId(43113) returns 'tavaxc', and that
coins.get() succeeds for both.
Ticket: CGD-726
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Session-Id: 6ec5a14f-c3aa-46ed-8177-39e4fc4263cd
Task-Id: 1d9f9835-f70a-4605-9a03-d95971816e491 parent 6d77a3e commit eca367b
2 files changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
| 116 | + | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
857 | 857 | | |
858 | 858 | | |
859 | 859 | | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
860 | 873 | | |
861 | 874 | | |
862 | 875 | | |
| |||
0 commit comments