Skip to content

Commit

Permalink
proto format
Browse files Browse the repository at this point in the history
  • Loading branch information
teddyding committed Nov 28, 2024
1 parent 1efbf60 commit c126649
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ export interface DowntimeParamsSDKType {
export interface SynchronyParams {
/**
* next_block_delay replaces the locally configured timeout_commit in
* CometBFT. It determines the amount of time the CometBFT waits after the If
* the application sends next_block_delay = 0 to the consensus engine, the
* CometBFT. It determines the amount of time the CometBFT waits after the
* `CommitTime` (subjective time when +2/3 precommits were received), before
* moving to next height.
* If the application sends next_block_delay = 0 to the consensus engine, the
* latter defaults back to using timeout_commit.
*/
nextBlockDelay?: Duration;
Expand All @@ -35,8 +37,10 @@ export interface SynchronyParams {
export interface SynchronyParamsSDKType {
/**
* next_block_delay replaces the locally configured timeout_commit in
* CometBFT. It determines the amount of time the CometBFT waits after the If
* the application sends next_block_delay = 0 to the consensus engine, the
* CometBFT. It determines the amount of time the CometBFT waits after the
* `CommitTime` (subjective time when +2/3 precommits were received), before
* moving to next height.
* If the application sends next_block_delay = 0 to the consensus engine, the
* latter defaults back to using timeout_commit.
*/
next_block_delay?: DurationSDKType;
Expand Down
6 changes: 3 additions & 3 deletions proto/dydxprotocol/blocktime/params.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ message DowntimeParams {
// SynchronyParams defines the parameters for block synchrony.
message SynchronyParams {
// next_block_delay replaces the locally configured timeout_commit in
// CometBFT. It determines the amount of time the CometBFT waits after the
// `CommitTime` (subjective time when +2/3 precommits were received), before
// moving to next height.
// CometBFT. It determines the amount of time the CometBFT waits after the
// `CommitTime` (subjective time when +2/3 precommits were received), before
// moving to next height.
// If the application sends next_block_delay = 0 to the consensus engine, the
// latter defaults back to using timeout_commit.
google.protobuf.Duration next_block_delay = 1
Expand Down

0 comments on commit c126649

Please sign in to comment.