Skip to content

Commit 5601fc1

Browse files
boredlandjxom
andauthored
feat: add blockTime property to Scroll chain definition (#4033)
* Add blockTime property to Scroll chain definition according to https://docs.scroll.io/en/technology/chain/blocks/#block-time * Create happy-wombats-trade.md --------- Co-authored-by: jxom <7336481+jxom@users.noreply.github.com>
1 parent fdc1baf commit 5601fc1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/happy-wombats-trade.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` property to Scroll chain.

src/chains/definitions/scroll.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 scroll = /*#__PURE__*/ defineChain({
44
id: 534_352,
55
name: 'Scroll',
6+
blockTime: 3000,
67
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
78
rpcUrls: {
89
default: {

0 commit comments

Comments
 (0)