Skip to content

Commit a55e295

Browse files
Switch DABlockTime to 15 seconds (#1188)
<!-- Please read and fill out this form before submitting your PR. Please make sure you have reviewed our contributors guide before submitting your first PR. --> ## Overview Closes: #1180 <!-- Please provide an explanation of the PR, including the appropriate context, background, goal, and rationale. If there is an issue with this information, please provide a tl;dr and link the issue. --> ## Checklist <!-- Please complete the checklist to ensure that the PR is ready to be reviewed. IMPORTANT: PRs should be left in Draft until the below checklist is completed. --> - [x] New and updated code has appropriate documentation - [x] New and updated code has new and/or updated testing - [x] Required CI checks are passing - [ ] Visual proof for any user facing features like CLI or documentation updates - [x] Linked issues closed with keywords
1 parent 7c9629d commit a55e295

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

block/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import (
2929
)
3030

3131
// defaultDABlockTime is used only if DABlockTime is not configured for manager
32-
const defaultDABlockTime = 30 * time.Second
32+
const defaultDABlockTime = 15 * time.Second
3333

3434
// defaultBlockTime is used only if BlockTime is not configured for manager
3535
const defaultBlockTime = 1 * time.Second

config/defaults.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var DefaultNodeConfig = NodeConfig{
2222
LazyAggregator: false,
2323
BlockManagerConfig: BlockManagerConfig{
2424
BlockTime: 1 * time.Second,
25-
DABlockTime: 30 * time.Second,
25+
DABlockTime: 15 * time.Second,
2626
NamespaceID: types.NamespaceID{},
2727
},
2828
DALayer: "mock",

da/test/da_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var (
3333
testNamespaceID = types.NamespaceID{0, 1, 2, 3, 4, 5, 6, 7}
3434

3535
testConfig = celestia.Config{
36-
Timeout: 30 * time.Second,
36+
Timeout: 15 * time.Second,
3737
GasLimit: 3000000,
3838
}
3939
)

0 commit comments

Comments
 (0)