Skip to content

Commit

Permalink
Switch DABlockTime to 15 seconds (cosmos#1188)
Browse files Browse the repository at this point in the history
<!--
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: cosmos#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
  • Loading branch information
Manav-Aggarwal authored Sep 13, 2023
1 parent 7c9629d commit a55e295
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion block/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
)

// defaultDABlockTime is used only if DABlockTime is not configured for manager
const defaultDABlockTime = 30 * time.Second
const defaultDABlockTime = 15 * time.Second

// defaultBlockTime is used only if BlockTime is not configured for manager
const defaultBlockTime = 1 * time.Second
Expand Down
2 changes: 1 addition & 1 deletion config/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var DefaultNodeConfig = NodeConfig{
LazyAggregator: false,
BlockManagerConfig: BlockManagerConfig{
BlockTime: 1 * time.Second,
DABlockTime: 30 * time.Second,
DABlockTime: 15 * time.Second,
NamespaceID: types.NamespaceID{},
},
DALayer: "mock",
Expand Down
2 changes: 1 addition & 1 deletion da/test/da_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var (
testNamespaceID = types.NamespaceID{0, 1, 2, 3, 4, 5, 6, 7}

testConfig = celestia.Config{
Timeout: 30 * time.Second,
Timeout: 15 * time.Second,
GasLimit: 3000000,
}
)
Expand Down

0 comments on commit a55e295

Please sign in to comment.