Skip to content

Commit

Permalink
[TIC-2119]: Add missing networks (#127)
Browse files Browse the repository at this point in the history
* feat: add missing networks

* chore: add changeset

* fix: update network list
  • Loading branch information
dzimiks authored Sep 24, 2024
1 parent 9e6dddd commit d9951fa
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 35 deletions.
5 changes: 5 additions & 0 deletions .changeset/shiny-seahorses-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tenderly/sdk': minor
---

Add missing networks
87 changes: 53 additions & 34 deletions lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,51 +2,70 @@ export type Path = string;
export type Web3Address = string;

export enum Network {
ARBITRUM_ONE = 42161,
ARBITRUM_NOVA = 42170,
ARBITRUM_SEPOLIA = 421614,
AVALANCHE = 43114,
AVALANCHE_FUJI = 43113,
BASE = 8453,
BASE_SEPOLIA = 84532,
BLAST = 81457,
MAINNET = 1,
OPTIMISTIC = 10,
RSK = 30,
RSK_TESTNET = 31,
BINANCE = 56,
RIALTO_BINANCE = 97,
BOBA_ETHEREUM = 288,
BOBA_SEPOLIA = 28882,
BOBA_BINANCE = 56288,
BOBA_BINANCE_RIALTO = 9728,
GNOSIS_CHAIN = 100,
BOB_SEPOLIA = 111,
POLYGON = 137,
FANTOM = 250,
FANTOM_TESTNET = 4002,
FRAXTAL = 252,
BOBA_ETHEREUM = 288,
WORLDCHAIN = 480,
MODE_SEPOLIA = 919,
LISK = 1135,
MOONBEAM = 1284,
MOONRIVER = 1285,
MOONBASE_ALPHA = 1287,
SEI_ATLANTIC_2 = 1328,
SEI_PACIFIC_1 = 1329,
FRAXTAL_HOLESKY = 2522,
GNOSIS_CHAIN = 100,
HOLESKY = 17000,
LINEA = 59144,
LINEA_SEPOLIA = 59141,
MAINNET = 1,
MORPH_HOLESKY = 2810,
FANTOM_TESTNET = 4002,
LISK_SEPOLIA = 4202,
GOLD = 4653,
WORLDCHAIN_SEPOLIA = 4801,
MANTLE = 5000,
MANTLE_SEPOLIA = 5003,
MOONBEAM = 1284,
MOONRIVER = 1285,
OPTIMISTIC = 10,
OPTIMISTIC_SEPOLIA = 11155420,
POLYGON = 137,
ZETACHAIN = 7000,
ZETACHAIN_TESTNET = 7001,
KINTO = 7887,
POLYNOMIAL = 8008,
BASE = 8453,
BOBA_BINANCE_RIALTO = 9728,
INTERVAL_TESTNET = 11069,
IMMUTABLE = 13371,
IMMUTABLE_TESTNET = 13473,
HOLESKY = 17000,
UNREAL = 18233,
CONCRETE_TESTNET = 18291,
BOBA_SEPOLIA = 28882,
APECHAIN_CURTIS = 33111,
APECHAIN = 33139,
MODE = 34443,
ARBITRUM_ONE = 42161,
ARBITRUM_NOVA = 42170,
AVALANCHE_FUJI = 43113,
AVALANCHE = 43114,
BOBA_BINANCE = 56288,
LINEA_SEPOLIA = 59141,
LINEA = 59144,
BOB = 60808,
POLYGON_AMOY = 80002,
POLYNOMIAL_SEPOLIA = 80008,
BLAST = 81457,
BASE_SEPOLIA = 84532,
REAL = 111188,
RSK = 30,
RSK_TESTNET = 31,
SEPOLIA = 11155111,
UNREAL = 18233,
TAIKO = 167000,
TAIKO_HEKLA = 167009,
ARBITRUM_SEPOLIA = 421614,
ZORA = 7777777,
SEPOLIA = 11155111,
OPTIMISTIC_SEPOLIA = 11155420,
ZORA_SEPOLIA = 999999999,
MODE = 34443,
MODE_SEPOLIA = 919,
MOONBASE_ALPHA = 1287,
LISK = 1135,
LISK_SEPOLIA = 4202,
IMMUTABLE = 13371,
IMMUTABLE_TESTNET = 13473,
}

export type TenderlyConfiguration = {
Expand Down
2 changes: 1 addition & 1 deletion test/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = () => {
try {
dotenv.config();

console.log('Jest setup successfull!');
console.log('Jest setup successful!');
} catch (error) {
console.error('Jest setup failed!', error);
}
Expand Down

0 comments on commit d9951fa

Please sign in to comment.