Skip to content

Commit 4751e43

Browse files
b-tarczynskijxom
andauthored
feat: add blockTime for Arbitrum chain (#3814)
* Add arbitrum block time * Create famous-pans-act.md --------- Co-authored-by: jxom <[email protected]>
1 parent 9a0ffe6 commit 4751e43

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.changeset/famous-pans-act.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"viem": patch
3+
---
4+
5+
Add `blockTime` to Arbitrum chains.

src/chains/definitions/arbitrum.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export const arbitrum = /*#__PURE__*/ defineChain({
44
id: 42_161,
55
name: 'Arbitrum One',
66
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
7+
blockTime: 250,
78
rpcUrls: {
89
default: {
910
http: ['https://arb1.arbitrum.io/rpc'],

src/chains/definitions/arbitrumSepolia.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { defineChain } from '../../utils/chain/defineChain.js'
33
export const arbitrumSepolia = /*#__PURE__*/ defineChain({
44
id: 421_614,
55
name: 'Arbitrum Sepolia',
6+
blockTime: 250,
67
nativeCurrency: {
78
name: 'Arbitrum Sepolia Ether',
89
symbol: 'ETH',

0 commit comments

Comments
 (0)