Skip to content

Commit 1e791ad

Browse files
feat: add blockTime to gnosis chains (#3985)
* Add gnosis block time * Create yellow-clocks-speak.md --------- Co-authored-by: jxom <[email protected]>
1 parent 31ac909 commit 1e791ad

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.changeset/yellow-clocks-speak.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+
Added `blockTime` to Gnosis chains.

src/chains/definitions/gnosis.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export const gnosis = /*#__PURE__*/ defineChain({
88
name: 'xDAI',
99
symbol: 'XDAI',
1010
},
11+
blockTime: 5_000,
1112
rpcUrls: {
1213
default: {
1314
http: ['https://rpc.gnosischain.com'],

src/chains/definitions/gnosisChiado.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export const gnosisChiado = /*#__PURE__*/ defineChain({
88
name: 'Gnosis',
99
symbol: 'xDAI',
1010
},
11+
blockTime: 5_000,
1112
rpcUrls: {
1213
default: {
1314
http: ['https://rpc.chiadochain.net'],

0 commit comments

Comments
 (0)