Skip to content

Commit

Permalink
Remove MonadDevnet (#784)
Browse files Browse the repository at this point in the history
  • Loading branch information
bruce-riley authored Jan 21, 2025
1 parent dd6bd24 commit 4be2f8c
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 11 deletions.
1 change: 0 additions & 1 deletion core/base/src/constants/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ const chainIdAndChainEntries = [
[10005, "OptimismSepolia"],
[10006, "Holesky" ],
[10007, "PolygonSepolia" ],
[10008, "MonadDevnet" ],
] as const satisfies MapLevel<number, string>;

export const [chainIds, chains] = zip(chainIdAndChainEntries);
Expand Down
1 change: 0 additions & 1 deletion core/base/src/constants/contracts/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ export const coreBridgeContracts = [[
["Xlayer", "0xA31aa3FDb7aF7Db93d18DDA4e19F811342EDF780"],
["Linea", "0x79A1027a6A159502049F10906D333EC57E95F083"],
["Monad", "0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"],
["MonadDevnet", "0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"],
]], [
"Devnet", [
["Solana", "Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o"],
Expand Down
2 changes: 0 additions & 2 deletions core/base/src/constants/finality.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ const finalityThresholds = [
["BaseSepolia", 512],
["OptimismSepolia", 512],
["PolygonSepolia", 32],
["MonadDevnet", 1],
] as const satisfies MapLevel<Chain, number>;

/**
Expand Down Expand Up @@ -118,7 +117,6 @@ const blockTimeMilliseconds = [
["Mantle", 2_000],
["Moonbeam", 12_000],
["Monad", 1_000],
["MonadDevnet", 1_000],
["Near", 1_500],
["Neon", 30_000],
["Oasis", 6_000],
Expand Down
1 change: 0 additions & 1 deletion core/base/src/constants/nativeChainIds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ const chainNetworkNativeChainIdEntries = [
["Xlayer", 195n],
["Linea", 59141n], // Sepolia
["Monad", 10143n],
["MonadDevnet", 41454n],
],
],
[
Expand Down
1 change: 0 additions & 1 deletion core/base/src/constants/platforms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ const platformAndChainsEntries = [[
"Ink",
"HyperEVM",
"Monad",
"MonadDevnet",
]], [
"Solana", [
"Solana",
Expand Down
1 change: 0 additions & 1 deletion core/base/src/constants/rpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ const rpcConfig = [[
["Ink", "https://rpc-qnd-sepolia.inkonchain.com"],
["HyperEVM", "https://api.hyperliquid-testnet.xyz/evm"],
["Monad", ""], // TODO: No public rpc is currently available, override with a custom rpc for now.
["MonadDevnet", ""], // TODO: No public rpc is currently available, override with a custom rpc for now.
["Noble", "https://noble-testnet-rpc.polkachu.com/"],
]], [
"Devnet", [
Expand Down
4 changes: 1 addition & 3 deletions core/icons/scripts/genIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ const makeChainCondition = (chain: Chain): string => {
return `(chain === "${chain}" || chain === "${chain}Sepolia")`;
} else if (chain === "Sei") {
return `(chain === "${chain}" || chain === "${chain}evm")`;
} else if (chain === "Monad") {
return `(chain === "${chain}" || chain === "${chain}Devnet")`;
} else if (chain.includes("Sepolia") || chain.includes("Holesky") || chain === "Seievm" || chain === "MonadDevnet") {
} else if (chain.includes("Sepolia") || chain.includes("Holesky") || chain === "Seievm") {
return "";
} else {
return `(chain === "${chain}")`;
Expand Down
2 changes: 1 addition & 1 deletion core/icons/src/constants/chainIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export function chainToIcon(chain: Chain): string {
PREFIX +
"PHN2ZyB3aWR0aD0iMTQ0IiBoZWlnaHQ9IjE0NCIgdmlld0JveD0iMCAwIDE0NCAxNDQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3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2Ljg1MDhDMjAuNDQxOCA3LjM4MTczIDI1LjY4MDIgMTYuNTQ0OSAyNS4xNDkyIDE4LjQ5MzRDMjQuNjE4MiAyMC40NDE4IDE1LjQ1NSAyNS42ODAyIDEzLjUwNjYgMjUuMTQ5MloiIGZpbGw9IiM4MzZFRjkiLz48L3N2Zz4="
Expand Down

0 comments on commit 4be2f8c

Please sign in to comment.