Skip to content

Commit e98a5b6

Browse files
committed
chore: update test snapshots for Avalanche Local chain
Add new exports to snapshot tests: - avalancheLocal chain - Local network IDs (P_CHAIN_LOCAL_ID, X_CHAIN_LOCAL_ID, C_CHAIN_LOCAL_ID) - LOCAL_NETWORK_ID constant - AVALANCHE_CHAIN_IDS and AVALANCHE_NETWORK_IDS maps
1 parent 1bf30d1 commit e98a5b6

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

client/src/chains/index.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ test("exports", () => {
171171
"fantom",
172172
"avalanche",
173173
"avalancheFuji",
174+
"avalancheLocal",
174175
"fantomSonicTestnet",
175176
"fantomTestnet",
176177
"fibo",

client/src/methods/index.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,17 +110,23 @@ test("exports", () => {
110110
"watchEvent",
111111
"watchPendingTransactions",
112112
"writeContract",
113+
"AVALANCHE_CHAIN_IDS",
114+
"AVALANCHE_NETWORK_IDS",
113115
"P_CHAIN_MAINNET_ID",
114116
"P_CHAIN_FUJI_ID",
117+
"P_CHAIN_LOCAL_ID",
115118
"P_CHAIN_ALIAS",
116119
"X_CHAIN_MAINNET_ID",
117120
"X_CHAIN_FUJI_ID",
121+
"X_CHAIN_LOCAL_ID",
118122
"X_CHAIN_ALIAS",
119123
"C_CHAIN_MAINNET_ID",
120124
"C_CHAIN_FUJI_ID",
125+
"C_CHAIN_LOCAL_ID",
121126
"C_CHAIN_ALIAS",
122127
"MAINNET_NETWORK_ID",
123128
"TESTNET_NETWORK_ID",
129+
"LOCAL_NETWORK_ID",
124130
]
125131
`);
126132
});

0 commit comments

Comments
 (0)