Skip to content

Commit b2283dc

Browse files
authored
Added missing finality and block times (#674)
1 parent cc33e75 commit b2283dc

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

core/base/src/constants/finality.ts

+8
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ const finalityThresholds = [
3232
["Optimism", 512],
3333
["Base", 512],
3434
["Arbitrum", 4096], // TODO: validate, this is inferred from vaa metrics timing
35+
["Blast", 512],
36+
["Xlayer", 300],
37+
["Scroll", 300],
38+
["Mantle", 512],
3539
// Checkpointed after 32 blocks
3640
["Polygon", 32],
3741
// Single block finality
@@ -84,6 +88,7 @@ const blockTimeMilliseconds = [
8488
["Avalanche", 2_000],
8589
["Base", 2_000],
8690
["BaseSepolia", 2_000],
91+
["Blast", 2_000],
8792
["Bsc", 3_000],
8893
["Celo", 5_000],
8994
["Cosmoshub", 5_000],
@@ -96,6 +101,7 @@ const blockTimeMilliseconds = [
96101
["Karura", 12_000],
97102
["Klaytn", 1_000],
98103
["Kujira", 3_000],
104+
["Mantle", 2_000],
99105
["Moonbeam", 12_000],
100106
["Near", 1_500],
101107
["Neon", 30_000],
@@ -106,6 +112,7 @@ const blockTimeMilliseconds = [
106112
["Polygon", 2_000],
107113
["PolygonSepolia", 2_000],
108114
["Rootstock", 30_000],
115+
["Scroll", 3_000],
109116
["Sei", 400],
110117
["Sepolia", 15_000],
111118
["Solana", 400],
@@ -115,6 +122,7 @@ const blockTimeMilliseconds = [
115122
["Terra", 6_000],
116123
["Terra2", 6_000],
117124
["Xpla", 5_000],
125+
["Xlayer", 3_000],
118126
["Wormchain", 5_000],
119127
["Btc", 600_000],
120128
["Pythnet", 400],

core/base/src/constants/rpc.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ const rpcConfig = [[
4444
["Gnosis", "https://rpc.ankr.com/gnosis"],
4545
["Rootstock", "https://public-node.rsk.co"],
4646
["Mantle", "https://rpc.mantle.xyz"],
47+
["Klaytn", "https://rpc.ankr.com/klaytn"],
4748
]], [
4849
"Testnet", [
4950
["Ethereum", "https://eth-goerli.public.blastapi.io"],
@@ -84,7 +85,8 @@ const rpcConfig = [[
8485
["Xlayer", "https://testrpc.xlayer.tech/"],
8586
["Scroll", "https://rpc.ankr.com/scroll_sepolia_testnet"],
8687
["Rootstock", "https://public-node.testnet.rsk.co"],
87-
["Gnosis", "https://rpc.chiadochain.net"]
88+
["Gnosis", "https://rpc.chiadochain.net"],
89+
["Klaytn", "https://rpc.ankr.com/klaytn_testnet"],
8890
]], [
8991
"Devnet", [
9092
["Ethereum", "http://eth-devnet:8545"],

0 commit comments

Comments
 (0)